home *** CD-ROM | disk | FTP | other *** search
/ 500 MB Nyheder Direkte fra Internet 2 / 500 MB nyheder direkte fra internet CD 2.iso / start / data / text / faq-0877.txt < prev    next >
Text File  |  1995-05-05  |  146KB  |  3,189 lines

  1. Archive-name: microcontroller-faq/primer
  2. Posting-Frequency: monthly
  3. Last-modified: Apr. 30, 1995
  4.  
  5. This article is a primer and general FAQ about microcontrollers.
  6. Included is a collection of information sources on various
  7. microcontrollers.
  8.  
  9. The following topics are addressed:
  10.  
  11.        0)  Rantings and ravings (to make the FAQ zero-based)
  12.  
  13.        1)  ABOUT THIS FAQ
  14.      1.1)  Who put this FAQ together?
  15.      1.2)  How can I contribute to this FAQ?
  16.      1.3)  What newsgroups will this FAQ be posted to?
  17.      1.4)  May I distribute this FAQ or post it somewhere else?
  18.  
  19.        2)  MICROCONTROLLERS
  20.      2.1)  What is a Microcontroller?
  21.      2.2)  Applications
  22.      2.3)  Flavors
  23.  
  24.        3)  THE MICROCONTROLLER MARKET
  25.      3.1)  Shipments
  26.      3.2)  Industrial applications
  27.      3.3)  Deciding whose microcontroller to use
  28.      3.4)  The players
  29.  
  30.        4)  MICROCONTROLLER FEATURES
  31.      4.1)  Fabrication techniques
  32.      4.2)  Architectural features
  33.      4.3)  Advanced Memory options
  34.      4.4)  Power Management and Low Voltage
  35.      4.5)  I/O
  36.      4.6)  Interrupts
  37.      4.7)  Special microcontroller features
  38.  
  39.        5)  SOME POPULAR MICROCONTROLLERS
  40.  
  41.        6)  GETTING STARTED WITH MICROCONTROLLERS
  42.      6.1)  Evaluation Kits/Boards
  43.      6.2)  Easy chips to use
  44.      6.3)  Software (cheap and easy)
  45.  
  46.        7)  MICROCONTROLLER PROGRAMMING LANGUAGES
  47.      7.1)  Machine/Assembly language
  48.      7.2)  Interpreters
  49.      7.3)  Compilers
  50.      7.4)  Fuzzy Logic and Neural Networks
  51.  
  52.        8)  DEVELOPMENT TOOLS
  53.      8.1)  Simulators
  54.      8.2)  Resident Debuggers
  55.      8.3)  Emulators
  56.      8.4)  Good Stereo System
  57.  
  58.        9)  FINDING OUT MORE ABOUT MICROCONTROLLERS
  59.      9.1)  Books
  60.      9.2)  Data and Reference Books
  61.      9.3)  Periodicals
  62.      9.4)  Internet newsgroups
  63.      9.5)  Internet sources of information on specific microcontrollers
  64.  
  65.       10)  MICROCONTROLLER FREE SOFTWARE SOURCES
  66.     10.1)  FTP sites
  67.     10.2)  WEB pages
  68.     10.2)  BBSs
  69.     10.3)  Mailing lists
  70.  
  71.  
  72. 0)  Rantings and ravings
  73.  
  74.     Disclaimer:  Just so it is understood, the "rantings and ravings" are
  75.     my rantings and ravings.  My readers are refined and sophisticated
  76.     and would never rant or rave.  I, on the other hand, sit in front of
  77.     the TV in torn underwear and drink beer out of the bottle.
  78.  
  79.  
  80.     Dave Heller has some good news for everyone:
  81.  
  82.        Free 80C51 Microcontroller Pocket Guide
  83.        ---------------------------------------
  84.  
  85.        Philips says that these pocket guides are "going like crazy." If
  86.        you're working with ANY 80C51 microcontroller, this guide offers a
  87.        quick reference to the 80C51 instruction set on a card that fits
  88.        neatly into your pocket.  Full of OP Code descriptions by
  89.        function, Internal data map, a hex-to-op code table, and lots more
  90.        specifically for the 80C51 engineer.  And it's FREE.  Just send
  91.        Philips your "snail mail" address and they'll mail you one,
  92.        pronto!  E-mail your name and address to:
  93.        Philips-QuickRef@InetBSystems.us.com
  94.  
  95.  
  96.     Thanks to Olaf Pfeiffer (Hitex) who has made HTML versions of my
  97.     microcontroller FAQs available on his web site.
  98.                http://www.ba-karlsruhe.de/automation/FAQ
  99.     All reachable via the Home Page Automation and Process Control:
  100.                http://www.ba-karlsruhe.de/automation/home.html
  101.  
  102.  
  103.     National Semiconductor / MetaLink COP8780 Evaluation/Programming Unit
  104.  
  105.        Robin Getz of National Semiconductor supplied me with a
  106.        pre-release version of the EPU.  I haven't really had much of an
  107.        opportunity to put it through its paces yet, but it's an
  108.        interesting looking new product.  This kit offers designers a
  109.        low-cost tool for an introduction to National's COP8 Basic Family
  110.        of 8-bit microcontrollers.
  111.  
  112.        This development tool gives you an inexpensive way to benchmark
  113.        and evaluate microcontroller code in real-time.  With its built in
  114.        MIRCOWIRE/PLUS interface, it can interface to numerous
  115.        MICROWIRE/PLUS devices such as EPROMS, EEPROMS, D/As, A/Ds, DASs,
  116.        and others, to give a full featured system.  The system includes
  117.        the EPU board, 2 8780Cx parts (early kits have OTPs, later kits
  118.        will have windowed parts), assembler, debugger, sample code, a
  119.        very limited C compiler, a wall power supply, and a really great
  120.        box :-).
  121.  
  122.        The EPU is an in-circuit simulator.  It plugs into your target
  123.        system in place of an COP880C microcontroller and it executes code
  124.        using a COP8780CJ [emulator] microcontroller on the EPU board.
  125.        Like a software simulator, it does not run real time.  Hardware
  126.        and software control the microcontroller cycle-by-cycle, and break
  127.        handling and tracing are done completely through software.
  128.  
  129.        Documentation includes a COP8 Series Microcontroller User's Manual
  130.        (this is missing in the first run, you'll have to ask for one), a
  131.        comprehensive assembler manual, and various product line
  132.        literature.  The documentation on the kit itself is scant, but
  133.        gives enough information to get the job done.
  134.  
  135.        This is a nice way to get started with microcontrollers, and the
  136.        COP800 is an interesting chip with a powerful and efficient
  137.        instruction set.  For only $125, this is worth checking out.
  138.        Mention this FAQ, and I'm sure they'll be glad to double the
  139.        price.
  140.  
  141.  
  142.     Philips Semiconductor / CEIBO DS750 Devolopment Tools
  143.  
  144.        A good way to learn about 8051 programming, this kit is based on
  145.        the 8xc7xx series which are very low-end, inexpensive micros.
  146.        They are offered with less memory (1k, 2k, etc.) and fewer
  147.        features.  In fact the 83c750 sells for only $1 in very high OEM
  148.        volumes.
  149.  
  150.        The kit includes a DS750 board, source level debugger, and
  151.        utilities.  Both DOS and Windows versions of the software are
  152.        included on the diskette, and installation is a snap.  I don't
  153.        understand why, but no assembler is included!  A number of
  154.        assemblers and C compilers are compatible with (or adaptable to)
  155.        the source level debugger, including:  Keil/Franklin, IAR, and
  156.        Micro Computer Control.  If you're on a budget, the Micro Computer
  157.        Control package is only $100 - the prices of the other packages
  158.        are a bit more creative :-).  Philips also has the MetaLink
  159.        assembler available for free on their BBS.
  160.  
  161.        The DS750 has 3 operating modes:  real-time, simulator, and
  162.        simulator plus.  It plugs into your target system in place of an
  163.        87c750 (24 pin) and it executes code using an 87c752 [emulator] on
  164.        the DS750 board.
  165.  
  166.        Besides being a very nice platform for testing your code
  167.        real-time, the enclosed manual makes this package really
  168.        worthwhile.  In addition to the obligatory startup and operation
  169.        information, the book includes schematics and theory of the
  170.        board's operation.  Five experiments guide the user on
  171.        understanding the workings and capabilities of the 8051 family.
  172.  
  173.        Priced at only $100, a truckload of these have already been sold,
  174.        and for good reason.  If you're interested in learning how to use
  175.        an 8051, you can't go wrong with the DS750.
  176.  
  177.  
  178.     Minds-Online engineering ftp site and mailing lists:
  179.  
  180.        A new ftp site (ftp.std.com:/customers2/nonprofits/minds-online)
  181.        should by now be up and running.  It will have over 100 Mbytes of
  182.        engineering material.  Chock full of compilers, assemblers, code,
  183.        articles, fuzzy logic, and much more.  This is definitely worth
  184.        checking out!
  185.  
  186.        A mailing list for announcing significant postings on this ftp
  187.        site is being gathered.
  188.  
  189.        Another mailing list, this one MODERATED, will carry messages from
  190.        real engineers who are working on designs slated for volume
  191.        production.  "No tire-kickers, no students, no academics, no
  192.        sleazy something-for-nothing ripoff artists, no hobbyists, and no
  193.        totally lost people will be able to post e-mail."  (Uh, it looks
  194.        like that sort of leaves out yours truly, I certainly belong in
  195.        several, if not most, of those categories).
  196.  
  197.        If you would like to be on one or both of these lists, send your
  198.        email address to: csmall@tiac.net.  Put a good word in for me
  199.        while you're at it, my mind's usually off-line :-).
  200.  
  201.  
  202.     New book out!
  203.  
  204.        A great book just landed on my desk.  Not exactly about
  205.        microcontrollers, but it isn't another silly book by or about
  206.        Madonna either.  The book is Posix.4: Programming for the Real
  207.        World by Bill O. Gallmeister and published by O'Reilly and
  208.        Associates.  Written with a Unix perspective, the book is about
  209.        programming in the real world.  Yeah, here's our connection with
  210.        microcontrollers.  You know - microwave ovens, car braking
  211.        systems, mother-in-law detectors :-).  Part I of the book
  212.        describes the Posix standard (what it is, what it isn't, and what
  213.        it's for), and explains the principles of real time programming
  214.        (tasking, messages, scheduling, I/O, and performance) and why Unix
  215.        isn't fit for real-time programming.  Part II is a reference on
  216.        the Posix functions and header files.  Part III contains much of
  217.        the code for the exercises in the book.
  218.  
  219.        I'm enjoying this book - highly recommended!
  220.  
  221.  
  222.     Take care of yourselves,
  223.  
  224.               Uncle Russ
  225.  
  226.  
  227. 1)  ABOUT THIS FAQ
  228.  
  229. 1.1)  Who put this FAQ together?
  230.  
  231.     From time to time, general questions about microcontrollers (from
  232.     beginners to experienced designers) pop up in the newsgroups.  It
  233.     seemed that a general primer/FAQ on microcontrollers might be useful.
  234.  
  235.     Much of this document could be considered as a sort of a primer on
  236.     microcontrollers.  For those of you with previous experience,
  237.     sections 9 and 10 might be of special interest (especially for those
  238.     of you looking for that elusive "free COBOL compiler for the 1802").
  239.  
  240.  
  241. 1.2)  How can I contribute to this list?
  242.  
  243.     I please ask that if you have any suggestions or additions, or you
  244.     would like to correct any of the information contained herein, please
  245.     send me a note.
  246.          My Email address is:  sibit@datasrv.co.il
  247.          My Smail address is:
  248.                Russ Hersch
  249.                HaVradim 11
  250.                Ginot Shomron
  251.                ISRAEL
  252.  
  253.     Thanks to recent contributors to this document:
  254.             Dave Dunfield (Dunfield Development Systems)
  255.             Cecil Moore (Intel)
  256.             Ed Thompson (Micro Computer Control Corporation)
  257.         Dave Heller
  258.             Kevin Gardner (Philips Semiconductor)
  259.             Victor Weiman (CEIBO)
  260.             Matt Albright (Motorola)
  261.             Tom Mornini (Parallax, Inc.)
  262.             Ken Tindell (Uppsala University, Sweden)
  263.             Paul K. Johnson (Hewlett Packard)
  264.             Reuven Melaver (Eastronics - National Semiconductor
  265.                 Representative in Israel)
  266.             Olaf 'Olu' Pfeiffer (Hitex)
  267.             Ted MacDonald
  268.             John Piccirillo
  269.             Paul Hills
  270.             Jack Coats
  271.             Ed Sarkesian (who uses his old dirty socks to keep his
  272.                 mother-in-law away)
  273.             Mike Cepek (for pointing out so many errors :-)
  274.  
  275.  
  276.     Very special thanks to Robin L. Getz (National Semiconductor) who
  277.     probably could be considered an honorary co-author of this FAQ. :-)
  278.  
  279.     Also, thanks to those who have posted questions and to those who have
  280.     posted answers.  Thanks to "my new friends" who send suggestions and
  281.     encouragement, as well as the occasional question.  Special thanks to
  282.     my mother-in-law, who thankfully will probably never read this
  283.     document ;-).
  284.  
  285.  
  286. 1.3)  What newsgroups will this FAQ be posted to?
  287.  
  288.     This FAQ will be posted to the following newsgroups:
  289.           comp.robotics
  290.           comp.sys.intel
  291.           comp.sys.m68k
  292.           comp.sys.6809
  293.           sci.electronics
  294.           alt.comp.hardware.homebuilt
  295.  
  296.     I will post once a month - on or about the 26th of each month.
  297.  
  298.  
  299. 1.4)  May I distribute this FAQ or post it somewhere else?
  300.  
  301.     I am putting no restrictions on the use of this FAQ except - It must
  302.     be distributed in its entirety with the copyright notice, and no
  303.     financial gain may be realized from it.  After all, I have spent, and
  304.     continue to spend, a lot of time on this.
  305.  
  306.     For this reason I have appended a copyright statement to the end of
  307.     this FAQ.  I feel pretty silly doing this, but I just want to protect
  308.     myself.  The copyright does not limit the use of this list for
  309.     noncommercial purposes.  I hereby give my permission to one and all
  310.     to pass this list around and post it wherever you want - as long as
  311.     it is not for financial gain.
  312.  
  313.         Thank you.
  314.  
  315.  
  316. 2)  MICROCONTROLLERS
  317.  
  318.  
  319. 2.1)  What is a Microcontroller?
  320.  
  321.     A controller is used to control (makes sense!) some process or aspect
  322.     of the environment.  A typical microcontroller application is the
  323.     monitoring of my house.  As the temperature rises, the controller
  324.     causes the windows to open.  If the temperature goes above a certain
  325.     threshold, the air conditioner is activated.  If the system detects
  326.     my mother-in-law approaching, the doors are locked and the windows
  327.     barred.  In addition, upon detecting that my computer is turned on,
  328.     the stereo turns on at a deafening volume (for more on this, see the
  329.     section on development tools).
  330.  
  331.     At one time, controllers were built exclusively from logic
  332.     components, and were usually large, heavy boxes (before this, they
  333.     were even bigger, more complex analog monstrosities).  Later on,
  334.     microprocessors were used and the entire controller could fit on a
  335.     small circuit board.  This is still common - you can find many [good]
  336.     controllers powered by one of the many common microprocessors
  337.     (including Zilog Z80, Intel 8088, Motorola 6809, and others).
  338.  
  339.     As the process of miniaturization continued, all of the components
  340.     needed for a controller were built right onto one chip.  A one chip
  341.     computer, or microcontroller was born.  A microcontroller is a highly
  342.     integrated chip which includes, on one chip, all or most of the parts
  343.     needed for a controller.  The microcontroller could be called a
  344.     "one-chip solution".  It typically includes:
  345.           CPU (central processing unit)
  346.           RAM (Random Access Memory)
  347.           EPROM/PROM/ROM (Erasable Programmable Read Only Memory)
  348.           I/O (input/output) - serial and parallel
  349.           timers
  350.           interrupt controller
  351.  
  352.     By only including the features specific to the task (control), cost
  353.     is relatively low.  A typical microcontroller has bit manipulation
  354.     instructions, easy and direct access to I/O (input/output), and quick
  355.     and efficient interrupt processing.  Microcontrollers are a "one-chip
  356.     solution" which drastically reduces parts count and design costs.
  357.  
  358.  
  359. 2.2)  Applications
  360.  
  361.     In addition to control applications such as the above home monitoring
  362.     system, microcontrollers are frequently found in embedded
  363.     applications.  Among the many uses that you can find one or more
  364.     microcontrollers:  appliances (microwave oven, refrigerators,
  365.     television and VCRs, stereos),  automobiles (engine control,
  366.     diagnostics, climate control), environmental control (greenhouse,
  367.     factory, home), instrumentation, aerospace, and thousands of other
  368.     uses.
  369.  
  370.     Microcontrollers are used extensively in robotics.  In this
  371.     application, many specific tasks might be distributed among a large
  372.     number of microcontrollers in one system.  Communications between
  373.     each microcontroller and a central, more powerful microcontroller (or
  374.     microcomputer, or even large computer) would enable information to be
  375.     processed by the central computer, or to be passed around to other
  376.     microcontrollers in the system.
  377.  
  378.     A special application that microcontrollers are well suited for is
  379.     data logging.  Stick one of these chips out in the middle of a corn
  380.     field or up in a ballon, and monitor and record environmental
  381.     parameters (temperature, humidity, rain, etc).  Small size, low power
  382.     consumption, and flexibility make these devices ideal for unattended
  383.     data monitoring and recording.
  384.  
  385.  
  386. 2.3)  Flavors
  387.  
  388.     Microcontrollers come in many flavors and varieties.  Depending on
  389.     the power and features that are needed, you might choose a 4 bit, 8
  390.     bit, 16 bit, or 32 bit microcontroller.  In addition, some
  391.     specialized versions are available which include features specific
  392.     for communications, keyboard handling, signal processing, video
  393.     processing, and other tasks.
  394.  
  395.  
  396. 3)  THE MICROCONTROLLER MARKET
  397.  
  398.     Thanks to Robin Getz of National Semiconductor for supplying much of
  399.     the material in this section.
  400.  
  401.  
  402. 3.1)  Shipments
  403.  
  404.             WorldWide Microcontroller Shipments (in millions of dollars)
  405.  
  406.             '90   '91   '92   '93   '94   '95   '96   '97   '98   '99   '00
  407.      4-bit 1,393 1,597 1,596 1,698 1,761 1,826 1,849 1,881 1,856 1,816 1,757
  408.      8-bit 2,077 2,615 2,862 3,703 4,689 5,634 6,553 7,529 8,423 9,219 9,715
  409.     16-bit   192   303   340   484   810 1,170 1,628 2,191 2,969 3,678 4,405
  410.  
  411.  
  412.                  WorldWide Microcontroller Shipments (in Millions)
  413.  
  414.              '90   '91   '92   '93   '94   '95   '96   '97   '98   '99   '00
  415.      4-bit   778   906   979  1036  1063  1110  1100  1096  1064  1025   970
  416.      8-bit   588   753   843  1073  1449  1803  2123  2374  2556  2681  2700
  417.     16-bit    22    38    45    59   106   157   227   313   419   501   585
  418.  
  419.  
  420.                                                    Source: WSTS & ICE - 1994
  421.  
  422.     If you were wondering why you should bother learning about
  423.     microcontrollers - well, the tables above should fairly scream the
  424.     answer at you.  Microcontrollers will be *BIG* business - we're
  425.     talking piles of cash - billions!
  426.  
  427.     Notice that even the lowly 4-bit device is holding its own - what use
  428.     is a 16-bit part in a toaster oven?  Also notice that the 8-bit
  429.     market just keeps growing, and will probably continue to grow.  8-bit
  430.     devices account for over half of the market, and will eventually grab
  431.     even more.  Now do you understand why every silicon manufacturer is
  432.     really pushing their 8-bit microcontrollers?
  433.  
  434.  
  435. 3.2)  Industrial applications
  436.  
  437.     Average Semiconductor Content per Passenger Automobile (in Dollars)
  438.  
  439.         '90   '91   '92   '93   '94   '95   '96   '97   '98   '99   '00
  440.      $  595   634   712   905 1,068 1,237 1,339 1,410 1,574 1,852 2,126
  441.  
  442.                                                      Source: ICE - 1994
  443.  
  444.     The automotive market is the most important single driving force in
  445.     the microcontroller market, especially at it's high end.  Several
  446.     microcontroller families were developed specifically for automotive
  447.     applications and were subsequently modified to serve other embedded
  448.     applications.
  449.  
  450.     The automotive market is demanding.  Electronics must operate under
  451.     extreme temperatures and be able to withstand vibration, shock, and
  452.     EMI.  The electronics must be reliable, because a failure that causes
  453.     an accident can (and does) result in multi-million dollar lawsuits.
  454.     Reliability standards are high - but because these electronics also
  455.     compete in the consumer market - they have a low price tag.
  456.  
  457.     Automotive is not the only market that is growing.  DataQuest says
  458.     that in the average North American's home there are 35
  459.     microcontrollers.  By the year 2000 - that number will grow to 240.
  460.     Consumer electronics is a booming business.
  461.  
  462.  
  463. 3.3)  Deciding whose microcontroller to use
  464.  
  465.     When deciding which devices to implement in a design, there are lots
  466.     of things to consider besides who else is using these devices (and
  467.     how many are they using).
  468.       - Can I expect help when I am having problems?
  469.       - What development tools are available and how much do they cost?
  470.       - What sort of documentation is available (reference manuals,
  471.         application notes, books)?
  472.       - Can I work a deal by purchasing more devices at one manufacturer?
  473.         That is, purchasing not only the microcontroller, but also
  474.         peripherals (A/D, memory, voltage regulator, etc.) from one
  475.         company).
  476.       - Do they support OTPs, windowed devices, mask parts?
  477.  
  478.  
  479. 3.4)  The players
  480.  
  481.     Here is a list of the big guys.  Keep in mind that units does not
  482.     equal dollars.  Since some companies deal primarily in higher end
  483.     devices, they need to sell fewer units to achieve a higher dollar
  484.     total.
  485.  
  486.           Company              Units (k) 1993
  487.     -----------------------------------------------
  488.           Motorola               358,894
  489.           Mitsubishi              71,674
  490.           NEC                     70,180
  491.           Hitachi                 67,873
  492.           Philips                 56,680
  493.           Intel                   46,876
  494.           SGS-Thomson             37,350
  495.           Microchip               35,477
  496.           Matsushitta             34,200
  497.           Toshiba                 32,205
  498.           National Semiconductor  31,634
  499.           Zilog                   31,000
  500.           Texas Instruments       29,725
  501.           Siemens                 20,874
  502.           Sharp                   17,505
  503.  
  504.                                          SOURCE: DataQuest June 1994
  505.  
  506.  
  507.     The above numbers are just somebody's best guess - believe them if
  508.     you want to.  Since they get paid to come up with these numbers, one
  509.     would hope that they would be fairly reliable.  However, one of these
  510.     numbers is wrong for certain (and Robin Getz won't say whether it
  511.     should be higher or lower ;-).
  512.  
  513.  
  514. 4)  MICROCONTROLLER FEATURES
  515.  
  516.     Thanks to Robin Getz of National Semiconductor who supplied some of
  517.     the material in this section.
  518.  
  519.  
  520. 4.1)  Fabrication techniques
  521.  
  522.     CMOS - Complementary Metal Oxide Semiconductor
  523.  
  524.        This is the name of a common technique used to fabricate most (if
  525.        not all) of the newer microcontrollers.  CMOS requires much less
  526.        power than older fabrication techniques, which permits battery
  527.        operation.  CMOS chips also can be fully or near fully static,
  528.        which means that the clock can be slowed up (or even stopped)
  529.        putting the chip in sleep mode.  CMOS has a much higher immunity
  530.        to noise (power fluctuations or spikes) than the older fabrication
  531.        techniques.
  532.  
  533.  
  534.     PMP - Post Metal Programming (National Semiconductor)
  535.  
  536.        PMP is a high-energy implantation process that allows
  537.        microcontroller ROM to be programmed AFTER final metalization.
  538.        Usually ROM is implemented in the second layer die, with nine or
  539.        ten other layers then added on top.  That means the ROM pattern
  540.        must be specified early in the production process, and completed
  541.        prototypes devices won't be available typically for six to eight
  542.        weeks.  With PMP, however, dies can be fully manufactured through
  543.        metalization and electrical tests (only the passivation layers
  544.        need to be added), and held in inventory.  This means that ROM can
  545.        be programmed late in production cycle, making prototypes
  546.        available in only two weeks.
  547.  
  548.  
  549. 4.2)  Architectural features
  550.  
  551.     Von-Neuman Architecure
  552.  
  553.        Microcontrollers based on the Von-Neuman architecture have a
  554.        single "data" bus that is used to fetch both instructions and
  555.        data.  Program instructions and data are stored in a common main
  556.        memory.  When such a controller addresses main memory, it first
  557.        fetches an instruction, and then it fetches the data to support
  558.        the instruction.  The two separate fetches slows up the
  559.        controller's operation.
  560.  
  561.  
  562.     Harvard Architecture
  563.  
  564.        Microcontrollers based on the Harvard Architecture have separate
  565.        data bus and an instruction bus.  This allows execution to occur
  566.        in parallel.  As an instruction is being "pre-fetched", the
  567.        current instruction is executing on the data bus.  Once the
  568.        current instruction is complete, the next instruction is ready to
  569.        go.  This pre-fetch theoretically allows for much faster execution
  570.        than a Von-Neuman architecture, but there is some added silicon
  571.        complexity.
  572.  
  573.  
  574.     CISC
  575.  
  576.        Almost all of today's microcontrollers are based on the CISC
  577.        (Complex Instruction Set Computer) concept.  The typical CISC
  578.        microcontroller has well over 80 instructions, many of them very
  579.        powerful and very specialized for specific control tasks.  It is
  580.        quite common for the instructions to all behave quite differently.
  581.        Some might only operate on certain address spaces or registers,
  582.        and others might only recognize certain addressing modes.
  583.  
  584.        The advantages of the CISC architecture is that many of the
  585.        instructions are macro-like, allowing the programmer to use one
  586.        instruction in place of many simpler instructions.
  587.  
  588.  
  589.     RISC
  590.  
  591.        The industry trend for microprocessor design is for Reduced
  592.        Instruction Set Computers (RISC) designs.  This is beginning to
  593.        spill over into the microntroller market.  By implementing fewer
  594.        instructions, the chip designed is able to dedicate some of the
  595.        precious silicon real-estate for performance enhancing features.
  596.        The benefits of RISC design simplicity are a smaller chip, smaller
  597.        pin count, and very low power consumption.
  598.  
  599.        Among some of the typical features of a RISC processor:
  600.           - Harvard architecture (separate buses for instructions and
  601.             data) allows simultaneous access of program and data, and
  602.             overlapping of some operations for increased processing
  603.             performance
  604.           - Instruction pipelining increases execution speed
  605.           - Orthogonal (symmetrical) instruction set for programming
  606.             simplicity; allows each instruction to operate on any
  607.             register or use any addressing mode; instructions have no
  608.             special combinations, exceptions, restrictions, or side
  609.             effects
  610.  
  611.  
  612.     SISC
  613.  
  614.        Actually, a microcontroller is by definition a Reduced Instruction
  615.        Set Computer (at least in my opinion).  It could really be called
  616.        a Specific Instruction Set Computer (SISC).  The [original] idea
  617.        behind the microcontroller was to limit the capabilities of the
  618.        CPU itself, allowing a complete computer (memory, I/O, interrupts,
  619.        etc) to fit on the available real estate.  At the expense of the
  620.        more general purpose instructions that make the standard
  621.        microprocessors (8088, 68000, 32032) so easy to use, the
  622.        instruction set was designed for the specific purpose of control
  623.        (powerful bit manipulation, easy and efficient I/O, and so on).
  624.  
  625.        Microcontrollers now come with a mind boggling array of features
  626.        that aid the control engineer - watchdog timers, sleep/wakeup
  627.        modes, power management, powerful I/O channels, and so on.  By
  628.        keeping the instruction set specific (and reduced), and thus
  629.        saving valuable real estate, more and more of these features can
  630.        be added, while maintaining the economy of the microcontroller.
  631.  
  632.  
  633. 4.3)  Advanced Memory options
  634.  
  635.     EEPROM - Electrically Erasable Programmable Read Only Memory
  636.  
  637.        Many microcontrollers have limited amounts of EEPROM on the chip.
  638.        EEPROM seems more suited (becuase of its economics) for small
  639.        amounts of memory that hold a limited number of parameters that
  640.        may have to be changed from time to time.  This type of memory is
  641.        relatively slow, and the number of erase/write cycles allowed in
  642.        its lifetime is limited.
  643.  
  644.  
  645.     FLASH (EPROM)
  646.  
  647.        Flash provides a good better solution than regular EEPROM when
  648.        there is a requirement for large amounts of non-volatile program
  649.        memory.  It is both faster and permits more erase/write cycles
  650.        than EEPROM.
  651.  
  652.  
  653.     Battery backed-up static RAM
  654.  
  655.        Battery backed-up static RAM is useful when a large non-volatile
  656.        program and DATA space is required.  A major advantage of static
  657.        RAM is that it is much faster than other types of non-volatile
  658.        memory so it is well suited for high performance application.
  659.        There also are no limits as to the number of times that it may be
  660.        written to so it is perfect for applications that keep and
  661.        manipulate large amounts of data locally.
  662.  
  663.  
  664.     Field programming/reprogramming
  665.  
  666.        Using nonvolatile memory as a place to store program memory allows
  667.        the device to be reprogrammed in the field without removing the
  668.        microcontroller from the system that it controls.  One such
  669.        application is in automotive engine controllers.  Reprogrammable
  670.        non-volatile program memory on the engine's microcontroller allows
  671.        the engine controller program to be modified during routine
  672.        service to incorporate the latest features or to compensate for
  673.        such factors as engine aging and changing emissions control laws
  674.        (or even to fix bugs!!).  Reprogramming of the microcontroller
  675.        could become a standard part the routine engine tune-up.
  676.  
  677.        Almost every application could benefit from this type of program
  678.        memory - If a modem's hardware supported it, you could remotely
  679.        upgrade your modem from Vfast to V.34, or incorporate new features
  680.        such as voice control or a digital answering machine.
  681.  
  682.  
  683.     OTP - One Time Programmable
  684.  
  685.        An OTP is a PROM (Programmable Read-Only-Memory) device.  Once
  686.        your program is written into the device with a standard EPROM
  687.        programmer, it can not be erased or modified.  This is usually
  688.        used for limited production runs before a ROM mask is done in
  689.        order to test code.
  690.  
  691.        A OTP (One Time Programmable) part uses standard EPROM, but the
  692.        package has no window for erasing.  Once your program is written
  693.        into the device with a standard EPROM programmer, it cannot be
  694.        erased or modified.  (Well, sort of - any bit that is a one can be
  695.        changed to a zero - but a bit that is a zero cannot be changed
  696.        into a one).
  697.  
  698.        As product design cycles get shorter, it is more important for
  699.        micro manufacturers to offer OTPs as an option.  This was commonly
  700.        used for limited production runs before a ROM mask in order to
  701.        test code.  However, one problem with Mask ROM is that
  702.        programming, setup, and engineering charges make it economical
  703.        only when the systems manufacturer purchases large quantities of
  704.        identically programmed micros.  Then when you discover THAT bug
  705.        (and find it and fix your code), you have quantities of *old
  706.        buggy* micros around that you have to throw away.  Not to mention
  707.        that lead time (the time when you submit your code to the micro
  708.        manufacture, to the time you receive your micro with your code on
  709.        it) can be at least 8 weeks, and as bad as 44 weeks.
  710.  
  711.  
  712.     Software protection
  713.  
  714.        Either by encryption or fuse protection, the programmed software
  715.        is protected against unauthorized snooping (reverse engineering,
  716.        modifications, piracy, etc.).
  717.  
  718.        This is only an option on OTPs and Windowed devices.  On Masked
  719.        ROM devices, security is not needed - the only way to read your
  720.        code would be to rip the microcontroller apart with a scanning
  721.        electron microscope - and how many people really have one of
  722.        those?
  723.  
  724.        Although - and this is a manufacturer's little know fact - when a
  725.        silicon manufacturer makes your ROMed microcontroller - they have
  726.        to test it in order to make sure that it is programmed properly.
  727.        (You should see what a spec of dust does on a mask :-)  In order
  728.        to test this, they must be able to read out the ROM and compare it
  729.        to the code you submitted.  This mode is known as test mode.  IN
  730.        TEST MODE YOU CAN READ OUT THE ROM OF ANY DEVICE.  Anybody who
  731.        tells you different, does not know what they are talking about -
  732.        or is lying.  This is usually not a big deal because test mode is
  733.        ***VERY*** confidential, and (usually) only known by that
  734.        manufacturer (i.e. you cannot put a device into test mode by
  735.        accident).  Test mode is ONLY applicable with ROMed devices.
  736.  
  737.  
  738. 4.4)  Power Management and Low Voltage
  739.  
  740.     Low voltage parts
  741.  
  742.        Since automotive applications have been the driving force behind
  743.        most microcontrollers, and 5 Volts is very easy to do in a car,
  744.        most microcontrollers have only supported 4.5 - 5.5 V operation.
  745.        In the recent past, as consumer goods are beginning to drive major
  746.        segments of the microcontroller market, and as consumer goods
  747.        become portable and lightweight, the requirement for 3 volt (and
  748.        lower) microcontrollers has become urgent (3 volts = 2 battery
  749.        solution / lower voltage = longer battery life).  Most low voltage
  750.        parts in the market today are simply 5 volt parts that were
  751.        modified to operate at 3 volts (usually at a performance loss).
  752.        Some micros being released now are designed from the ground up to
  753.        operate properly at 3.0 (and lower) voltages, which offer
  754.        comparable performance of the 5 volt devices.
  755.  
  756.  
  757.        Now, why are voltages REALLY going down on ICs?  Paul K. Johnson
  758.        (of Hewlett-Packard) explains:
  759.  
  760.        There are a few interesting rules of thumb regarding transistors:
  761.        1)  The amount of power they dissipate is proportional to their
  762.            size.  If you make a transistor half as big, it dissipates
  763.            half as much power.
  764.        2)  Their propagation delay is proportional to their size.  If you
  765.            make a transistor half as big, it's twice as fast.
  766.        3)  Their cost is proportional to the square of their size.  If
  767.            you make them half as big, they cost one quarter as much.
  768.  
  769.        If you make a transistor smaller, you improve the power, speed,
  770.        and cost.  The only drawback is that they are harder to make.
  771.        (Well, how hard can it be for HP, IBM, Motorola, National, etc?)
  772.        Everybody in the world wants to make transistors smaller and
  773.        smaller, the advantages are enormous.
  774.  
  775.        For years people have been using 5 Volts to power IC's.  Because
  776.        the transistors were large, there was little danger damaging the
  777.        transistor putting this voltage across it.  However, now that the
  778.        transistors are getting so small, 5 Volts will actually fry them.
  779.        The only way around this is to start lowering the voltage.  This
  780.        is why people are now using 3 (actually 3.3) Volt logic, and lower
  781.        in the next few years.  It isn't just because of batteries.
  782.  
  783.  
  784.     Brownout Protection
  785.  
  786.        Brownout protection is usually an on-board protection circuit that
  787.        resets the device when the operating voltage (Vcc) is lower than
  788.        the brownout voltage.  The device is held in reset and will remain
  789.        in reset when Vcc stays below the Brownout voltage.  The device
  790.        will resume execution (from reset) after Vcc has risen above the
  791.        brownout Voltage.
  792.  
  793.  
  794.     Idle/Halt/Wakeup
  795.  
  796.        The device can be placed into IDLE/HALT mode by software control.
  797.        In both Halt and Idle conditions the state of the microcontroller
  798.        remains.  RAM is not cleared and any outputs are not changed.  The
  799.        terms idle and halt often have different definitions, depending on
  800.        the manufacturer.  What some call idle, others may call halt, and
  801.        vice versa.  It can be confusing, so check the data sheet for the
  802.        device in question to be sure.
  803.  
  804.        In IDLE mode, all activities are stopped except:
  805.          - associated on-board oscillator circuitry
  806.          - watchdog logic (if any)
  807.          - the clock monitor
  808.          - the idle timer (a free running timer)
  809.        Power supply requirements on the microcontroller in this mode are
  810.        typically around 30% of normal power requirements of the
  811.        microprocessor.  Idle mode is exited by a reset, or some other
  812.        stimulus (such as timer interrupt, serial port, etc.).  A special
  813.        timer/counter (the idle timer) causes the chip to wake up at a
  814.        regular interval to check if things are OK.  The chip then goes
  815.        back to sleep.
  816.  
  817.        IDLE mode is extremely useful for remote, unattended data logging
  818.        - the microprocessor wakes up at regular intervals, takes its
  819.        measurements, logs the data, and then goes back to sleep.
  820.  
  821.        In Halt mode, all activities are stopped (including timers and
  822.        counters).  The only way to wake up is by a reset or device
  823.        interrupt (such as an I/O port).  The power requirements of the
  824.        device are minimal and the applied voltage (Vcc) can sometimes be
  825.        decreased below operating voltage without altering the state
  826.        (RAM/Outputs) of the device.  Current consumption is typically
  827.        less than 1 uA.
  828.  
  829.        A common application of HALT mode is in laptop keyboards.  In
  830.        order to have maximum power saving, the controller is in halt
  831.        until it detects a keystroke (via a device interrupt).  It then
  832.        wakes up, decodes and sends the keystroke to the host, and then
  833.        goes back into halt mode, waiting either for another keystroke, or
  834.        information from the host.
  835.  
  836.  
  837.     Multi-Input Wakeup (National Semiconductor)
  838.  
  839.        The Multi-Input WakeUp (MIWU) feature is used to return (wakeup)
  840.        the microcontroller from either HALT or IDLE modes.  Alternately
  841.        MIWU may also be used to generate up to 8 edge selectible external
  842.        interrupts.  The user can select whether the trigger condition on
  843.        the pins is going to be either a positive edge (low to high) or a
  844.        negative edge (high to low).
  845.  
  846.  
  847. 4.5)  I/O
  848.  
  849.     UART
  850.  
  851.        A UART (Universal Asynchronous Receiver Transmitter) is a serial
  852.        port adapter for asynchronous serial communications.
  853.  
  854.  
  855.     USART
  856.  
  857.        A USART (Universal Synchronous/Asynchronous Receiver Transmitter)
  858.        is a serial port adapter for either asynchronous or synchronous
  859.        serial communications.  Communications using a USART are typically
  860.        much faster (as much as 16 times) than with a UART.
  861.  
  862.  
  863.     Synchronous serial port
  864.  
  865.        A synchronous serial port doesn't require start/stop bits and can
  866.        operate at much higher clock rates than an asynchronous serial
  867.        port.  Used to communicate with high speed devices such as memory
  868.        servers, display drivers, additional A/D ports, etc.  Can also be
  869.        used to implement a simple microcontroller network.
  870.  
  871.  
  872.     SPI (Motorola)
  873.  
  874.        An SPI (serial peripheral interface) is a synchronous serial port.
  875.  
  876.  
  877.     SCI
  878.  
  879.        An SCI (serial communications interface) is an enhanced UART
  880.        (asynchronous serial port).
  881.  
  882.  
  883.     I2C bus - Inter-Integrated Circuit bus (Philips)
  884.  
  885.        The I2C bus is a simple 2 wire serial interface developed by
  886.        Philips.  It was developed for 8 bit applications and is widely
  887.        used in consumer electronics, automotive and industrial
  888.        applications.  In addition to microcontrollers, several
  889.        peripherals also exist that support the I2C bus.
  890.  
  891.        The I2C bus is a two line, multi-master, multi-slave network
  892.        interface with collision detection.  Up to 128 devices can exist
  893.        on the network and they can be spread out over 10 meters.  Each
  894.        node (microcontroller or peripheral) may initiate a message, and
  895.        then transmit or receive data.  The two lines of the network
  896.        consist of the serial data line and the serial clock line.  Each
  897.        node on the network has a unique address which accompanies any
  898.        message passed between nodes.  Since only 2 wires are needed, it
  899.        is easy to interconnect a number of devices.
  900.  
  901.  
  902.     MICROWIRE/PLUS (National Semiconductor)
  903.  
  904.        MICROWIRE/PLUS is a serial synchronous bi-directional
  905.        communications interface.  This is used on National Semiconductor
  906.        Corporation's devices (microcontrollers, A/D converters, display
  907.        drivers, EEPROMS, etc.).
  908.  
  909.  
  910.     CAN & J1850
  911.  
  912.        CAN (Controller Area Network) is a mutiplexed wiring scheme that
  913.        was developed jointly by Bosh and Intel for wiring in automobiles.
  914.        J1850 is the SAE (Society of Automotive Engineers) multiplexed
  915.        automotive wiring standard that is currently in use in North
  916.        America.
  917.  
  918.        Both of these groups have the "NOT INVENTED HERE" syndrome and
  919.        refuse to work with each other's standard. The standards are quite
  920.        different and are not compatible at all.
  921.  
  922.        The CAN specification seems to be the one that is being used in
  923.        industrial control both in North American and Europe.  With lower
  924.        cost microcontrollers that support CAN, CAN has a good potential
  925.        to take off.
  926.  
  927.  
  928.     Analog to Digital Conversion (A/D)
  929.  
  930.        Converts an external analog signal (typically relative to voltage)
  931.        and converts it to a digital representation.  Microcontrollers
  932.        that have this feature can be used for instrumention,
  933.        environmental data logging, or any application that lives in an
  934.        analog world.
  935.  
  936.        The various types of A/D converters that can be found:
  937.  
  938.        Succesive Approximation A/D converters -- This the most common
  939.        type of A/D and is used in the majority of microcontrollers.  In
  940.        this technique, the converter figures out each bit at a time (most
  941.        significant first) and finds if the next step is higher or lower.
  942.        This way has some benefits - it takes exactly the same amount of
  943.        time for any conversion - it is very common - (and therefore very
  944.        cheap).  However it also has some disadvantages - it is slow - for
  945.        every bit it takes at least one clock cycle - the best an 8-bit
  946.        A/D can do is at least 8 clock cycles (and a couple for
  947.        housekeeping).  Because it takes so long - it is a power hog as
  948.        compared to the other types of A/Ds.
  949.  
  950.        Single Slope A/D converters -- This is the type of converter that
  951.        you can build yourself (if the microcontroller has a couple of
  952.        analog blocks on it).  Your single slope A/D converter would
  953.        include Analog Mux / comparator / timer (8-bit timer = 8 bit A/D -
  954.        16-bit timer = 16 bit A/D) with input capture and a constant
  955.        current source.  The only microcontroller (that I know of) that
  956.        has all of this on it is National's COP888EK.
  957.  
  958.        First Step is to clear the timer to 0000 and then start it.  It is
  959.        a simple matter to hang an external capacitor, and charge it with
  960.        the constant current source (linearly because of the current
  961.        source) when the voltage on the cap exceeds the sampling voltage,
  962.        the comparitor toggles, stops the timer - and voila - you have the
  963.        voltage in uSecs - with 16-bit accuracy.  The only drawback is you
  964.        can't really expect 16 bits (14 yes) - the conversion time varies
  965.        quite a bit, and it is SLOW.
  966.  
  967.        Delta-Sigma A/Ds converters -- This type of A/D converter is found
  968.        on higher-end DSPs.  These are the hardest to understand of the
  969.        A/Ds because it just makes a best guess (a little National
  970.        Semiconductor humor here :-).  Delta sigma A/Ds can be broken down
  971.        into two main parts.
  972.  
  973.        The modulator which does the A/D conversion and the filter, which
  974.        turns the output of the modulator into a format suitible for the
  975.        microcontroller (or DSP).
  976.  
  977.        The modulator is very simple - it just compares the input voltage
  978.        to the average of the last 100 (or so) modulator outputs and
  979.        decides if the input is higher or lower than the average. This
  980.        happens millions of times a second, resulting in a high speed
  981.        single-bit datastream of 1s and 0s who's *average* is equal to the
  982.        input voltage. Becuse the ouput is only a one or a zero, there are
  983.        very few sources of errors. This is the main reason that
  984.        delta-sigma A/Ds are **very** accurate.
  985.  
  986.        The filter comes after the modulator ... and this filter is
  987.        essentially a big DSP block.  It must take the very high speed
  988.        stream of ones and zeros and turn it into a slower speed stream of
  989.        16-bit (or greater) words to be used by the microcontroller.  This
  990.        process is called decimation and the filter is often called a
  991.        "comb filter".  Another digital filter follows this stage and
  992.        rejects unwanted frequencies.  This filter performs a similar
  993.        function to the anti-aliasing filter required in many traditional
  994.        A/D appliactions, but it does it at an unprecedented level of
  995.        performance and at low cost.  This is the other major benefit of
  996.        delta-sigma A/Ds.
  997.  
  998.        Flash A/D -- This is the basic architecure for the fastest
  999.        category of A/Ds.  The flash converter involves looking at each
  1000.        level that is possible and instantaneously saying what level the
  1001.        voltage is at.  This is done by setting up comparators as
  1002.        threshold detectors with each detector being set up for a voltage
  1003.        exaclty 1 LSB higher than the detector below it.  The benefit of
  1004.        this architecture is that with a single clock cycle, you can tell
  1005.        exactly what the input voltage is - that is why it is so fast.
  1006.        The disadvantage is that to achieve 8-bit accuracy you need 256
  1007.        comparators and to achieve 10-bit accuracy you need 1024
  1008.        comparators. To make these comparators operate at higher speeds,
  1009.        they have to draw LOTS of current, and beyond 10 bits, the number
  1010.        of comparators required becomes totally unmanageable.
  1011.  
  1012.  
  1013.     D/A (Digital to Analog) Converters
  1014.  
  1015.        This feature takes a Digital number and converts it to a analog
  1016.        output. The number 50 would be changed to the analog output of
  1017.        (50/256 * 5Volts) = .9765625V on a 8-bit / 5 Volt system.
  1018.  
  1019.  
  1020.     Pulse width modulator
  1021.  
  1022.        Often used as a digital-to-analog conversion technique.  A pulse
  1023.        train is generated and regulated with a low-pass filter to
  1024.        generate a voltage proportional to the duty cycle.
  1025.  
  1026.  
  1027.     Pulse accumulator
  1028.  
  1029.        A pulse accumulator is an event counter.  Each pulse increments
  1030.        the pulse accumulator register, recording the number of times this
  1031.        event has occurred.
  1032.  
  1033.  
  1034.     Input Capture
  1035.  
  1036.        Input Capture can measure external frequencies or time intervals
  1037.        by copying the value from a free running timer into a register
  1038.        when an external event occurs.
  1039.  
  1040.  
  1041.     Comparator
  1042.  
  1043.        One or more standard comparators can sometimes be placed on a
  1044.        microcontroller die.  These comparators operate much like standard
  1045.        comparators however the input and output signals are available on
  1046.        the microcontroller bus.
  1047.  
  1048.  
  1049.     Mixed (Analog-Digital) Signal
  1050.  
  1051.        We live in an analog world where the information we see, hear,
  1052.        process, and exchange with each other, and with our mechanical and
  1053.        electronic systems, is always an analog quantity - pressure,
  1054.        temperature, voltage, current, air and water flow are always
  1055.        analog entities.  They can be digitized for more efficient
  1056.        sorting, storage and transmittal, but the interface - the input
  1057.        and output - is almost always analog.  Thus the essence of analog
  1058.        electronics lies in sensing continuously varying information,
  1059.        shaping and converting it for the efficiency of digital processing
  1060.        and transmission, and reshaping the digital data to an analog
  1061.        signal at the other end.
  1062.  
  1063.        Mixed analog-digital devices are being used increasingly to
  1064.        integrate the complex functions of high-speed telecommunications,
  1065.        or the real-time data processing demanded by industrial control
  1066.        systems and automotive systems.  Start looking for
  1067.        microcontrollers that have analog comparators, analog
  1068.        multiplexers, current sources, voltage doublers, PLL (Phase Lock
  1069.        Loops) and all sorts of peripherals that you thought were analog
  1070.        only.
  1071.  
  1072.  
  1073. 4.6)  Interrupts
  1074.  
  1075.  
  1076.     Polling
  1077.  
  1078.        Polling is not really a "feature" - it's what you have to do if
  1079.        your microcontroller of choice does not have interrupts.
  1080.        Polling is a software technique whereby the controller continually
  1081.        asks a peripheral if it needs servicing.  The peripheral sets a
  1082.        flag when it has data ready for transferring to the controller,
  1083.        which the controller notices on its next poll.  Several such
  1084.        peripherals can be polled in succession, with the controller
  1085.        jumping to different software routines, depending on which flags
  1086.        have been set.
  1087.  
  1088.  
  1089.     Interrupts
  1090.  
  1091.        Rather than have the microcontroller continually polling - that
  1092.        is, asking peripherals (timers / UARTS / A/Ds / external
  1093.        components) whether they have any data available (and finding most
  1094.        of the time they do not), a more efficient method is to have the
  1095.        peripherals tell the controller when they have data ready.  The
  1096.        controller can be carrying out its normal function, only
  1097.        responding to peripherals when there is data to respond to.  On
  1098.        receipt of an interrupt, the controller suspends its current
  1099.        operation, identifies the interrupting peripheral, then jumps
  1100.        (vectors) to the appropriate interrupt service routine.
  1101.  
  1102.        The advantage of interrupts, compared with polling, is the speed
  1103.        of response to external events and reduced software overhead (of
  1104.        continually asking peripherals if they have any data ready).
  1105.  
  1106.        Most microcontrollers have at least one external interrupt, which
  1107.        can be edge selectible (rising or falling) or level triggered.
  1108.        Both systems (edge/level) have advantages.  Edge - is not time
  1109.        sensitive, but it is susceptible to gitches.  Level - must be held
  1110.        high (or low) for a specific duration (which can be a pain - but
  1111.        is not susceptible to glitches).
  1112.  
  1113.        Interrupts are critical when you are controlling anything (this is
  1114.        what microcontrollers do).  If you misunderstand any of the terms,
  1115.        and design your systems with the way you *think* it works - not
  1116.        the way it *really* works - it will effect system performance.  It
  1117.        may also work for a very long time with no problems, and then all
  1118.        of a sudden fail.  Check your datasheets - these descriptions are
  1119.        the correct ones (or are at least supposed to be), but that does
  1120.        not mean that they are agreed to by the silicon manufacturers, (or
  1121.        by the marketing guys that they employ, and who write parts of the
  1122.        data sheets.)
  1123.  
  1124.        4 bit microcontrollers usually have either a polling or
  1125.        non-vectored type of interrupt scheme.  8 and 16 bit
  1126.        microcontrollers usually have some type of vectored arbitration
  1127.        type of interrupt scheme.  32 bit microcontrollers usually will
  1128.        have some type of vectored priority type of interrupt scheme.
  1129.        Again, check your data sheet to make sure - or ask a
  1130.        manufacturer's rep if you aren't sure.
  1131.  
  1132.  
  1133.     Maskable Interrupts
  1134.  
  1135.        A maskable interrupt is one that you can disable or enable
  1136.        (masking it out means disabling the interrupt), whereas
  1137.        non-maskable interrupts you can't disable.  The benefit of
  1138.        maskable interrupts is that you can turn off a particular
  1139.        interrupts (for example a UART) during some time critical task.
  1140.        Then, those particular interrupts will be ignored thus allowing
  1141.        the microcontroller to deal with the task at hand.  Most
  1142.        microcontrollers (as well as most microprocessors) have some type
  1143.        of Global Interrupt Enable (GIE) which allows you to turn off (or
  1144.        on) all of the maskable interrupts with one bit.  NOTE:  GIE
  1145.        usually does not effect any NMI (Non-Maskable Interrupts)
  1146.  
  1147.  
  1148.     Vectored Interrupts
  1149.  
  1150.        Simple (non-vectored) interrupts is one of the simplest interrupt
  1151.        schemes there is (Simple = less silicon = more software = slower).
  1152.        Whenever there is an interrupt, the program counter (PC) branches
  1153.        to one specific address.  At this address, the system designer
  1154.        needs to check the interrupts (one at a time) to see which
  1155.        peripheral has caused the interrupt to occur.  Code for this may
  1156.        look like (on a COP8):
  1157.  
  1158.          IFBIT  UART,PSW      ; If the UART bit has been set
  1159.          JP     UART_Recieve  ;  Jump to the UART receive service routine
  1160.  
  1161.          IFBIT  T1,PSW        ; If the timer has underflowed
  1162.          JP     Underflow     ;  Jump to the underflow service routine
  1163.  
  1164.          ...   and so on
  1165.  
  1166.        This can be *very* slow - and the time between the interrupt
  1167.        happening and the time the service routine is entered, depends on
  1168.        how the system designer sets up their ranking.  The peripheral
  1169.        that is checked last takes the longest to process.  Most
  1170.        microcontrollers that have fewer than 3 - 5 interrupts use this
  1171.        method.  The benefit of this is that the system designer can set
  1172.        the priority - The most important peripheral gets checked first -
  1173.        and you get to decide which peripheral that is.
  1174.  
  1175.        Vectored interrupts are a little easier to set up, but the system
  1176.        designer has less control of the system (i.e. is dependent on the
  1177.        silicon manufacture to make the proper decisions during design of
  1178.        the chip).  When an interrupt occurs, the hardware interrupt
  1179.        handler automatically branches to a specific address depending on
  1180.        what interrupt occurred.  This is much faster than the
  1181.        non-vectored approach described above, however the system designer
  1182.        does not get to decide what peripheral gets checked first.
  1183.        Example (on a National Semiconductor COP888CG):
  1184.  
  1185.           Rank         Source          Description        Vector Address
  1186.        ------------------------------------------------------------------
  1187.             1 (highest) Software       INTR Instruction    01FE - 01FF
  1188.             2           External       Pin G0 Edge         01FA - 01FB
  1189.             3           Timer T0       Underflow           01F8 - 01F9
  1190.             4           Timer T1       T1A / Underflow     01F6 - 01F7
  1191.             5           Timer T1       T1B                 01F4 - 01F5
  1192.             6           MICROWIRE/PLUS BUSY Goes Low       01F2 - 01F3
  1193.             7           UART           Receive             01EE - 01EF
  1194.             8           UART           Transmit            01EC - 01ED
  1195.             9           Timer T2       T2A / Underflow     01EA - 01EB
  1196.            10           Timer T2       T2B                 01E8 - 01E9
  1197.            11           Timer T3       T3A / Underflow     01E6 - 01E7
  1198.            12           Timer T3       T3B                 01E4 - 01E5
  1199.            13           Port L / MIWU  Port L Edge         01E2 - 01E3
  1200.            14 (lowest)  Default        VIS Interaction     01E0 - 01E1
  1201.  
  1202.        In ROM location 01F8 - 01F9 (2bytes x 8 bits = 16bit address) the
  1203.        system designer enters the ROM location of where they want the
  1204.        service routine (of the Timer T0 underflow) to be. And so on for
  1205.        the rest of the addresses.
  1206.  
  1207.  
  1208.     Interrupt arbitration and priority
  1209.  
  1210.        Interrupt arbitration and priority - These are two of the most
  1211.        misused words when it comes to microcontrollers (microprocessors
  1212.        too for that matter) and it's generally because no one knows the
  1213.        difference between them.  Priority is not Arbitration.
  1214.        Arbitration is not Priority.  Lets see if we can sort out the
  1215.        differences.
  1216.  
  1217.        Arbitration - If you look at the above chart of the COP888CG, you
  1218.        may think the interrupts are prioritized because they have some
  1219.        ranking.  They do have rank, but they are not prioritized.  What
  1220.        happens is that (in an arbitration scheme) when an interrupt
  1221.        occurs, the GIE (Global Interrupt Enable) is cleared.  This
  1222.        effectively means that all future interrupts will be delayed until
  1223.        the GIE is set.  The GIE becomes set only if the system designer
  1224.        sets it in a service routines, or on a RETI (Return from
  1225.        Interrupt).
  1226.  
  1227.        Quick Example 1 - Timer 1 underflows - the hardware clears the
  1228.        GIE, looks at ROM locations 01F6 and 01F7 and jumps to the ROM
  1229.        location pointed to by those addresses.  The program does a couple
  1230.        things, and then sets the GIE (because the user wants to recognize
  1231.        an external interrupt during this service routine).  However while
  1232.        in the service routine, Timer 3 underflows.  Although a timer 3
  1233.        underflow is lower in rank than a timer 1 underflow, the interrupt
  1234.        handler does not care - it simply looks at the GIE, and because it
  1235.        is set - handles the interrupt (now we have nested interrupts).
  1236.        The Timer 1 underflow service routine will not be completed until
  1237.        the Timer 3 underflow is complete.
  1238.  
  1239.        Quick Example 2 - Timer 3 underflows at the same time as an
  1240.        External interrupt occur.  The one to be handled first is the
  1241.        External Interrupt.  If the user sets the GIE, the interrupt
  1242.        handler will jump down to the Timer 3 underflow handler.  If the
  1243.        user does not set the GIE, the microcontroller handles the
  1244.        External interrupt, does a RETI, and the Timer 3 underflow can now
  1245.        be handled.
  1246.  
  1247.  
  1248.        Priority - In a priority scheme, things are prioritized (well,
  1249.        what'd you expect?).  If Timer T0 underflows, the only thing that
  1250.        can interrupt that is an external or software interrupt.  If a
  1251.        external or software interrupt occurs, the interrupt handler will
  1252.        branch to these service routines.  When they are complete, it will
  1253.        return to the Timer T0 underflow.
  1254.  
  1255.        Quick Example - In the below timing diagram, the following
  1256.        happens:
  1257.          1) Timer T0 underflows
  1258.          2) Timer T2 underflows
  1259.          3) An External Interrupt occurs.
  1260.  
  1261.  
  1262.        In a priority scheme, the following would happen:
  1263.  
  1264.         External Interrupt             |---------|
  1265.                                        |         |
  1266.         Timer T0 Underflow     |-------|         |------|
  1267.                                |                        |
  1268.         Timer T2 Underflow     |                        |------|
  1269.                                |                               |
  1270.         Normal Execution    ---|                               |-------
  1271.  
  1272.                                ^   ^   ^         ^      ^       ^
  1273.                                |   |   |         |      |       |
  1274.         Time ->                |   |   |         |      |       \-T2 Done
  1275.                                |   |   |         |      \-------- T0 Done
  1276.                                |   |   |         \-------------- Ext Done
  1277.                                |   |   \------------------------ Ext Edge
  1278.                                |   \----------------------- T2 Underflows
  1279.                                \--------------------------- T0 Underflows
  1280.  
  1281.        This is what RTOS (Real Timer Operating Systems) do - prioritize
  1282.        and handle interrupts.
  1283.  
  1284.  
  1285. 4.7)  Special microcontroller features
  1286.  
  1287.  
  1288.     Watchdog timer
  1289.  
  1290.        A watchdog timer provides a means of graceful recovery from a
  1291.        system problem.  This could be a program that goes into an endless
  1292.        loop, or a hardware problem that prevents the program from
  1293.        operating correctly.  If the program fails to reset the watchdog
  1294.        at some predetermined interval, a hardware reset will be
  1295.        initiated.  The bug may still exist, but at least the system has a
  1296.        way to recover.  This is especially useful for unattended systems.
  1297.  
  1298.  
  1299.     Digital Signal Processors (DSP)
  1300.  
  1301.        Microcontrollers react to and control events - DSPs execute
  1302.        repetitive math-intensive algorithms.  Today many embedded
  1303.        applications require both types of processors, and semiconductor
  1304.        manufacturers have responded by introducing microcontrollers with
  1305.        on-chip DSP capability and DSPs with on-chip microcontrollers.
  1306.  
  1307.        The most basic thing a DSP will do is a MACC (Multiply and
  1308.        ACCumulate).  The number of data bits a DSP can Multiply and
  1309.        ACCumulate will determine the dynamic range (and therefore the
  1310.        application).
  1311.  
  1312.         Bits Fixed/Floating  Dynamic Range   Typical Application
  1313.  
  1314.           8     Fixed           48 dB         Telephone-quality voice
  1315.          16     Fixed           96 dB         Compact disk (marginal)
  1316.          24     Fixed          144 dB         Compact disk
  1317.                                                   (room for error)
  1318.  
  1319.  
  1320.     Clock Monitor
  1321.  
  1322.        A clock monitor can shut the microcontroller down (by holding the
  1323.        microcontroller in reset) if the input clock is too slow.  This
  1324.        can usually be turned on or off under software control.
  1325.  
  1326.  
  1327.     Resident program loader
  1328.  
  1329.        Loads a program by Initializing program/data memory from either a
  1330.        serial or parallel port.  Convenient for prototyping or trying out
  1331.        new features, eliminates the erase/burn/program cycle typical with
  1332.        EPROMs, and allows convenient updating of a system even from an
  1333.        offsite location.
  1334.  
  1335.  
  1336.     Monitor
  1337.  
  1338.        A monitor is a program installed in the microcontroller which
  1339.        provides basic development and debug capabilities.  Typical
  1340.        capabilities of a microcontroller monitor include:  loading object
  1341.        files into system RAM, executing programs, examining and modifying
  1342.        memory and registers, code disassembly, setting breakpoints, and
  1343.        single-stepping through code.  Some simple monitors only allow
  1344.        basic functions such as memory inspection, and the more
  1345.        sophisticated monitors are capable of a full range of debug
  1346.        functions.
  1347.  
  1348.        Monitors can either communicate with a dumb terminal or with a
  1349.        host computer such as a PC.  Much of the work of the monitor (such
  1350.        as user interface) can be offloaded to the host PC running a
  1351.        program designed to work with the monitor.  This makes it possible
  1352.        to reduce the size and complexity of the code that must be
  1353.        installed in the target system.
  1354.  
  1355.  
  1356.     MIL transducer
  1357.  
  1358.        An MIL transducer is a sophisticated and expensive device that
  1359.        detects the presence of your mother-in-law.  Sensitivity settings
  1360.        are possible for a full range of stimuli such as:  snarling,
  1361.        stomping, nasty faces, and others.  Techno-Wimp (address withheld
  1362.        upon request), the sole manufacturer of the MIL transducer, has
  1363.        recently announced a major new version which is sensitive enough
  1364.        to detect less-tangible stimuli.  This breakthrough product is
  1365.        dubbed the MIL-WOMF ("Whoa, outta my face!") transducer.  Both the
  1366.        original MIL and the new MIL-WOMF transducers are programmable and
  1367.        easy to interface to most microcontrollers.
  1368.  
  1369.  
  1370. 5)  Some popular microcontrollers
  1371.  
  1372.     Some common microcontrollers are described below.  A common question
  1373.     is "what microcontroller should I use for...?"  Well, that's a tough
  1374.     one.  The best advice would be to choose a chip that has a full set
  1375.     of development tools at the price you can afford, and good
  1376.     documentation.  For the hobbyist, the Intel 8051, Motorola 68hc11, or
  1377.     Microchip PIC would all make suitable choices.
  1378.  
  1379.  
  1380.     8048 (Intel)
  1381.  
  1382.        The grandaddy of 'em all, the first microcontroller, it all
  1383.        started here!  Although a bit long in the tooth and a bit kludgey
  1384.        in design (at least by today's standards), it is still very
  1385.        popular due to its very low cost, availability, and wide range of
  1386.        development tools.
  1387.  
  1388.        Modified Harvard architecture with program ROM on chip with an
  1389.        additional 64 to 256 bytes of RAM also on chip.  I/O is mapped in
  1390.        its own space.
  1391.  
  1392.  
  1393.     8051 (Intel and others)
  1394.  
  1395.        The 8051, Intel's second generation of microcontrollers, rules the
  1396.        microcontroller market at the present time.  Although featuring a
  1397.        somewhat bizarre design, it is a very powerful and easy to program
  1398.        chip (once you get used to it).
  1399.  
  1400.        Modified Harvard architecture with separate address spaces for
  1401.        program memory and data memory.  The program memory can be up to
  1402.        64K.  The lower portion (4K or 8K depending on type) may reside on
  1403.        chip.  The 8051 can address up to 64K of external data memory, and
  1404.        is accessed only by indirect addressing.  The 8051 has 128 bytes
  1405.        (256 bytes for the 8052) of on-chip RAM, plus a number of special
  1406.        function registers (SFRs).  I/O is mapped in its own space.
  1407.  
  1408.        The 8051 features the so-called "boolean processor".  This refers
  1409.        to the way instructions can single out bits just about anywhere
  1410.        (RAM, accumulators, I/O registers, etc.), perform complex bit
  1411.        tests and comparisons, and then execute relative jumps based on
  1412.        the results.
  1413.  
  1414.        Piles of software, both commercial and free, are available for the
  1415.        8051 line.  Many manufacturers supply what must be a hundred
  1416.        different variants of this chip for any requirement.  Often
  1417.        featured in construction projects in the popular hobbyist
  1418.        magazines.
  1419.  
  1420.  
  1421.     80c196 (MCS-96)
  1422.  
  1423.        The third generation of Intel microprocessors, the 80c196 is a 16
  1424.        bit processor.  Originally fabricated in NMOS (8096), it is now
  1425.        mainly available in CMOS.  Intel Corp. has recently introduced a
  1426.        clock-doubled (50MHz) version of the 80c196.
  1427.  
  1428.        Among the many features it includes are: hardware multiply and
  1429.        divide, 6 addressing modes, high speed I/O, A/D, serial
  1430.        communications channel, up to 40 I/O ports, 8 source priority
  1431.        interrupt controller, PWM generator, and watchdog timer.
  1432.  
  1433.  
  1434.     80186,80188 (Intel)
  1435.  
  1436.        These chips are, in essence, microcontroller versions of the 8086
  1437.        and 8088 (of IBM/PC fame).  Included on the chip are: 2 channels
  1438.        of DMA, 2 counter/timers, programmable interrupt controller, and
  1439.        dynamic RAM refresh.  There are several variations including:  low
  1440.        power versions, variations with serial ports, and so on.
  1441.  
  1442.        One major advantage you gain by using one of these parts is that
  1443.        you can use standard PC development tools (compilers, assemblers,
  1444.        etc) for developing you applications.  If you are already familiar
  1445.        with PC software development, the learning curve will be short,
  1446.        since these chips have the same basic architecture as the original
  1447.        8088 (as used in the IBM/PC).
  1448.  
  1449.        Other advantages include high speed processing, a full megabyte
  1450.        addressing space, and powerful interrupt processing.
  1451.  
  1452.  
  1453.     80386 EX (Intel)
  1454.  
  1455.        The 80386 EX is of course a 386 in microcontroller clothing.
  1456.        Included on the chip are: serial I/O, power management, DMA,
  1457.        counter/timers, programmable interrupt controller, and dynamic RAM
  1458.        refresh.  And of course, all of the power of the 386
  1459.        microprocessor.
  1460.  
  1461.        One major advantage you gain by using one of these parts is that
  1462.        you can use standard PC development tools (compilers, assemblers,
  1463.        etc) for developing your applications.  If you are already
  1464.        familiar with PC software development, the learning curve will be
  1465.        short, since these chips have the same basic architecture as the
  1466.        original 8088 (as used in the IBM/PC).
  1467.  
  1468.        We're talking power here gang.  Now let's all wait for Microsoft
  1469.        to release a version of Windows for embedded and real-time
  1470.        applications (Windows ET?  Windows RT?  Windows 2000? :-).
  1471.  
  1472.  
  1473.     6805 (Motorola)
  1474.  
  1475.        The 6805 is based loosely on the manufacturer's earlier 6800, with
  1476.        some similarities to the 6502.  It has a Von-Neuman architecture
  1477.        in which instructions, data, I/O, and timers all share the same
  1478.        space.  Stack pointer is 5 bits wide which limits the stack to 32
  1479.        bytes deep.  Some members of this family include on chip A/D, PLL
  1480.        frequency synthesizer, serial I/O, and software security.
  1481.  
  1482.  
  1483.     68hc11 (Motorola and others)
  1484.  
  1485.        The popular 68hc11 is a powerful 8-bit data, 16-bit address
  1486.        microcontroller from Motorola (the sole supplier) with an
  1487.        instruction set that is similar to the older 68xx parts (6801,
  1488.        6805, 6809).  The 68hc11 has a common memory architecture in which
  1489.        instructions, data, I/O, and timers all share the same memory
  1490.        space.
  1491.  
  1492.        Depending on the variety, the 68hc11 has built-in EEPROM/OTPROM,
  1493.        RAM, digital I/O, timers, A/D converter, PWM generator, pulse
  1494.        accumulator, and synchronous and ansynchronous communications
  1495.        channels.  Typical current draw is less than 20ma.
  1496.  
  1497.  
  1498.     683xx (Motorola)
  1499.  
  1500.        The MC68EC300 series incorporates various peripherals into various
  1501.        68k family core processors.  These can be called "integrated
  1502.        processors".  They are really super-microcontrollers, very high
  1503.        performance, capable of high processing speeds, and able to
  1504.        address large amounts of memory.  A typical example from this line
  1505.        would be the 68331.  It is based on a 68020-like core and has
  1506.        about the same processing power as an Intel 80386.
  1507.  
  1508.  
  1509.     PIC (MicroChip)
  1510.  
  1511.        While watching my 8 year old daughter play with her Barbie Dolls
  1512.        (she has about 7 or so, including two that used to belong to Roz,
  1513.        my wife, when she was a girl) I noticed an interesting difference
  1514.        between the old dolls and the new dolls.  The old Barbies could
  1515.        only move their heads sideways, while the new Barbies not only can
  1516.        move their heads sideways, but also up and down.  AMAZING - the
  1517.        old Barbies were good girls - they could only say no.  The new
  1518.        Barbies however can also say yes.  Progress - isn't it wonderful!
  1519.        (Not to mention the gymnast Barbie that Dave Perry's daughter got
  1520.        for Christmas - "wait'll you see what *she* can do ;-)"
  1521.  
  1522.        Which leads me to an amazing fact.  Most everyone thinks of the
  1523.        PIC microcontroller line as being a recent introduction.  However,
  1524.        they've been popular for over 20 years.  What's the difference?
  1525.        Microchip (which was originally [owned by] General Instruments),
  1526.        seems to have recreated this microcontroller into a product
  1527.        universally regarded as a powerful and cost effective solution.
  1528.        The new chips are fabricated in CMOS, some features have been
  1529.        added, and new family lines have been introduced.
  1530.  
  1531.        The PIC microcontrollers were the first RISC microcontrollers.
  1532.        RISC generally implies that simplicity of design allows more
  1533.        features to be added at lower cost, and the PIC line is no
  1534.        exception.  Although having few instructions (eg. 33 instructions
  1535.        for the 16C5X line versus over 90 for the Intel 8048), the PIC
  1536.        line has a wealth of features included as part of the chip.
  1537.        Separate buses for instructions and data (Harvard architecture)
  1538.        allows simultaneous access of program and data, and overlapping of
  1539.        some operations for increased processing performance.  The
  1540.        benefits of design simplicity are a very small chip, small pin
  1541.        count, and very low power consumption.
  1542.  
  1543.        PIC microcontrollers are rapidly gaining in popularity.  They are
  1544.        being featured more and more often in construction projects in
  1545.        popular hobbyist magazines, and are chalking up a good number of
  1546.        design wins.  Due to their low cost, small size, and low power
  1547.        consumption, these microcontrollers can now be used in areas that
  1548.        previously wouldn't have been appropriate (such as logic
  1549.        circuits).  They are currently available in three lines:  the
  1550.        PIC16C5x, PIC16Cxx, and PIC17Cxx families.
  1551.  
  1552.        PSST!  Hey kid!  Want a naked Barbie Doll?!
  1553.  
  1554.  
  1555.     COP400 Family (National Semiconductor)
  1556.  
  1557.        The COP400 Family is a P2CMOS 4-bit microcontroller which offers
  1558.        512 bytes to 2K ROM and 32x4 to 160x4 RAM.  Packages are varied
  1559.        from  20 to 28 pin (DIP/SO/PLCC).  Functions include Microwire,
  1560.        timers counters, 2.3 to 6.0 Volt operation, ROMless modes, and OTP
  1561.        support.
  1562.  
  1563.        Far from being "old" technology - 4-bit microcontrollers are
  1564.        meeting significant market needs in more applications than ever
  1565.        before.  The reason for the continuing strength of the COP400
  1566.        family is its versatility.  Over 60 different, compatible devices
  1567.        are available for a wide range of requirements.  The first under
  1568.        $.50 microcontroller set a new standard of value for
  1569.        cost/performance.
  1570.  
  1571.  
  1572.     COP800 Family (National Semiconductor)
  1573.  
  1574.        The COP800 Basic Family is a fully static 8-bit microcontroller,
  1575.        fabricated using double metal silicon gate microCMOS technology.
  1576.        This low cost microcontroller contains all system timing,
  1577.        interrupt logic, ROM, RAM, and I/O necessary to implement
  1578.        dedicated control functions in a variety of applications.
  1579.  
  1580.        Depending on the device, features include:  8-bit memory mapped
  1581.        architect, MICROWIRE serial I/O, UART, memory mapped I/O, many 16
  1582.        bit timer/counters with capture registers, a multi-sourced
  1583.        vectored interrupt, comparator, WATCHDOG Timer and Clock monitor,
  1584.        Modulator/Timer (high speed PWM timer for IR transmission),
  1585.        8-channel A/D converter with prescaler and both differential and
  1586.        single-ended modes, brownout protection, halt mode, idle mode,
  1587.        high current I/O pins with 15mA sink capability, Schmitt trigger
  1588.        inputs and Multi-Input-Wake-Up.  Most devices operate over a
  1589.        voltage range from 2.5V to 6V.
  1590.  
  1591.        High throughput is achieved with an efficient, powerful
  1592.        instruction set operating at a 1uS per instruction rate (most
  1593.        instructions are single byte/single cycle) including true bit
  1594.        manipulation and BCD arithmetic instructions.  Most devices have
  1595.        military versions for -55C to +125C.
  1596.  
  1597.  
  1598.     HPC Family (National Semiconductor)
  1599.  
  1600.        The HPC Family of High Performance microControllers is a 16-bit
  1601.        controller fabricated using National's advanced microCMOS
  1602.        technology.  This process combined with an advanced architecture
  1603.        provides fast, flexible I/O control, efficient data manipulation,
  1604.        and high speed computation.
  1605.  
  1606.        With its 16x16 bit multiply and 32x16 bit divide, the HPC is
  1607.        appropriate for compute-intensive environments that used to be the
  1608.        sole domain of the microprocessor.  The architecture is a
  1609.        Von-Neuman architecture where the program and data memory share
  1610.        the same address space.
  1611.  
  1612.        Depending on the family member, features include: 16-bit
  1613.        memory-mapped architecture with software configurable external
  1614.        address/data bus, Microwire/Plus serial I/O, UART, 16-bit
  1615.        timer/counters with input capture capability, High-Level Data Link
  1616.        Control (HDLC) for ISO-standard data communications, 8-channel A/D
  1617.        converter with prescaler and both differential and single-ended
  1618.        modes, power-saving modes, Multiply/Accumulate Unit with built-in
  1619.        circular buffer management for low to medium DSP applications,
  1620.        software configurable chip-select outputs, 64KB address space
  1621.        directly addressable, low-voltage (3.3V) operation.
  1622.  
  1623.        High throughput is achieved with an efficient, powerful
  1624.        instruction set operating at a 50ns per instruction cycle (most
  1625.        instructions are single byte/single cycle) including true bit
  1626.        manipulation.  Key applications currently using the HPC family
  1627.        include: Anti-lock Braking Systems, Hard Disk drives for mass
  1628.        storage, telecommunications, security systems, laser printers, and
  1629.        some military applications.
  1630.  
  1631.  
  1632.     Project Piranha (National Semiconductor)
  1633.  
  1634.        Project Piranha is an internal code name for National
  1635.        Semiconductor's embedded RISC processor technology. The Piranha
  1636.        technology represents the first RISC processor specifically
  1637.        designed for the needs of embedded applications.  This was
  1638.        accomplished through examination of the needs of typical embedded
  1639.        applications, resulting in a technology which maintains the
  1640.        benefits of CISC while providing the performance of RISC.
  1641.  
  1642.        Specifically, some of these benefits are:
  1643.          compact code density     -->  smaller memory usage/
  1644.                                           lower system cost
  1645.          small core size          -->  more room for add-on system design
  1646.          scalable architecture    -->  a range of performance solutions
  1647.        from 8 to 64 bits             with a common architecture
  1648.          common instruction set   -->  you only face the learning curve
  1649.             and development tools         once
  1650.          modular design           -->  designed for easy integration of
  1651.                                           specialized functions into
  1652.                                           single chip
  1653.  
  1654.        This technology is initially being implemented in application
  1655.        specific products from National Semiconductor, with the first
  1656.        product being available in Q1, 1995.  For further information on
  1657.        this technology, please contact Mark Throndson at
  1658.        tmetsc@esd.nsc.com, or (408) 721-4957.
  1659.  
  1660.  
  1661.     Z8 (Zilog)
  1662.  
  1663.        A "loose" derivative of the Zilog Z80, the Z8 is actually a
  1664.        composite of several different achitectures.  Not really
  1665.        compatible with the Z80 peripherals.  Has a unique architecture
  1666.        with three memory spaces:  program memory, data memory, and a CPU
  1667.        register file.  On-chip features include UART, timers, DMA, up to
  1668.        40 I/O lines.  Some versions include a synchronous/asynchronous
  1669.        serial channel.  Features fast interrupt response with 37
  1670.        interrupt sources.  The Z8671 has Tiny Basic in ROM.  The Super-8
  1671.        is just that, a super version of the Z8 with more of everything.
  1672.  
  1673.  
  1674.     HD64180 (Hitachi)
  1675.  
  1676.        A powerful microcontroller with full Z80 functionality plus:
  1677.        extended memory management, two DMA channels, synchronous and
  1678.        asynchronous communications channels, timers, and interrupt
  1679.        controller.  Some versions of this chip also include EPROM, RAM,
  1680.        and PIO (programmable input/output).  It runs Z80 code in fewer
  1681.        clock cycles than the Z80 and adds in hardware multiply and a few
  1682.        other instructions.  Available in versions that run up to 18MHz.
  1683.  
  1684.  
  1685.     TMS370 (Texas Instruments)
  1686.  
  1687.        It is similar to the 8051 in having 256 registers,  A and B
  1688.        accumulators, stack in the register page, etc.  It also has a
  1689.        host of onboard support devices, some members have all of them
  1690.        while others have a subset, the peripherals include:  RAM, ROM
  1691.        (mask, OTP, or EEPROM), 2 timers (configurable as timers/
  1692.        counters/comparators/PWM output), watchdog timer, SCI (syncronous
  1693.        serial port), SPI (asynchronous serial port), A/D (8 bit, 8
  1694.        channel), interrupts.
  1695.  
  1696.        Instruction set is mostly 8 bit with some 16 bit support.  Has
  1697.        several addressing modes, 8x8 multiply, 16/8 divide.  Clock speeds
  1698.        are up to 20MHz which gives 5MHz for buss access and instruction
  1699.        cycles.  Pins mostly TTL compatible (except clock and reset).
  1700.  
  1701.        Packages include:
  1702.              28,40 DIP
  1703.              28 CLCC
  1704.              28,44,68 PLCC
  1705.              40,64 SDIP
  1706.  
  1707.        A developers/proto board is available.  It is a multi layer PCB
  1708.        about 12"x7" with RS-232 serial I/O, and monitor as well as access
  1709.        to all processor pins on a patch and proto area.  Support software
  1710.        includes IBM-PC monitor & loader, cross assembler (absolute only).
  1711.        A pure serial TTY monitor is also supported.  Sole power
  1712.        requirement is +5v.  Priced is about $500 or so.
  1713.  
  1714.        A relocating assembler and linker, and a C compiler are also
  1715.        available.
  1716.  
  1717.  
  1718.     1802 (RCA)
  1719.  
  1720.        This is a real old-timer.  The 1802 is the successor to the 1801
  1721.        (2 chip set) which was the first microprocessor implemented in
  1722.        CMOS.  Both products were called microprocessors by RCA, not
  1723.        microcontrollers.  However, since the 1801 was implemented in CMOS
  1724.        and therefore had low power requirements, it was often used in
  1725.        microcontroller applications.  The 1802, with its higher level of
  1726.        integration and ease of use, could actually be considered a true
  1727.        microcontroller.  The 1802 is radiation hard and used in a lot of
  1728.        deep space and satellite applications.
  1729.  
  1730.        The 1802 has a fairly clean instruction set, a bunch of
  1731.        general-purpose registers (more like a Z80 than an 8051 in that
  1732.        regard), and separate data and I/O address spaces.
  1733.  
  1734.  
  1735.     MuP21 (Forth chip)
  1736.  
  1737.        The MuP21 was designed by Chuck Moore, the inventor of Forth.
  1738.        With the MuP21, Forth can compile into machine code and still be
  1739.        Forth, because the machine code IS Forth.  The MuP21 freaks out at
  1740.        100 MIPS while consuming only 50 milliwatts.  Not only that, the
  1741.        chip includes a video generator, has only about 7000 transistors
  1742.        (that's right, 7000 and not 7,000,000), and costs about $20.
  1743.  
  1744.        The assembler on this chip is a sort of dialect of Forth, as the
  1745.        CPU is modeled after the Forth virtual machine.  MuP21 is a
  1746.        MINIMAL Forth engine.  In fact MuP21 was designed to run OKAD
  1747.        (Chuck Moore's VLSI CAD softare), and OKAD was designed to run on
  1748.        MuP21.  OKAD was run on a 486 to design MuP21, and MuP21 was
  1749.        designed to have just enough hardware to run OKAD about ten times
  1750.        as fast as a 486 on a very cheap chip (the MuP21).  That's the
  1751.        reason for the MuP21's on-chip video generator coprocessor.  The
  1752.        CPU programs the video generator and then just manipulates the
  1753.        video buffer.  It is composite video out, so it only needs one
  1754.        pin.  MuP21 is only a 40 pin chip.
  1755.  
  1756.        MuP21 chips, boards, software, manuals, and spec sheets are
  1757.        available from:
  1758.           Offete Enterprises
  1759.           1306 South B Street, San Mateo CA 94402
  1760.           (415) 574-8250
  1761.           Email: Chen_Ting@umacmail.apldbio.com
  1762.  
  1763.  
  1764.     F21 (Next generation Forth chip)
  1765.  
  1766.        F21 will be bigger (10k vs 7k transistors for the MuP21!) but
  1767.        since it is going to implemented with a smaller geometry (.8
  1768.        micron vs 1.2) it will still be extremely small and low power, and
  1769.        low cost.  Although the specs on this chip aren't final yet,
  1770.        expected performance is in the range of 250 MIPS!!.  It will have
  1771.        multiple analog processors and a very high speed serial network
  1772.        coprocessor on chip.  F21 will also support a wider range of
  1773.        memory chips and have more I/O processors.
  1774.  
  1775.        Designed for cheap consumer multimedia and parallel processing,
  1776.        the F21 is planned for release some time in 1995.
  1777.  
  1778.        For more information on this project, contact: Jeff Fox
  1779.        <jfox@netcom.com>.
  1780.  
  1781.  
  1782. 6)  GETTING STARTED WITH MICROCONTROLLERS
  1783.  
  1784.     In order to get started with microcontrollers, several factors need
  1785.     to be considered.
  1786.           - cost
  1787.           - convenience
  1788.           - availability of development tools
  1789.           - intended use
  1790.  
  1791.     The hardware described in this section is readily available,
  1792.     affordable, and is easy to find software for.
  1793.  
  1794.     <Inclusion or exclusion of a product in this section doesn't have any
  1795.     real significance.  I've tried to give a good cross-section of
  1796.     devices and manufacturers - I'm open for suggestions.>
  1797.  
  1798.  
  1799. 6.1)  Evaluation Kits/Boards
  1800.  
  1801.     Many manufacturers offer assembled evaluation kits or boards which
  1802.     usually allow you to use a PC as a host development system.  Among
  1803.     some of the more popular evaluations kits/boards are:
  1804.  
  1805.     Parallax Basic Stamp
  1806.        This is a small single-board controller that runs BASIC, and costs
  1807.        only $39.  A SIP version for only $29 is also available.  THE 256
  1808.        byte EEPROM can hold a program of up to about 100 instructions.
  1809.        The BASIC Stamp Programming Package is a complete development
  1810.        package for only $99.
  1811.           Parallax, Inc., 3805 Atherton Rd. 102, Rocklin, CA  95765
  1812.           (916)624-8333    Fax: (916)624-8003   BBS: (916)624-7101
  1813.           email: info@parallaxinc.com
  1814.  
  1815.     Motorola EVBU, EVB, EVM, EVS
  1816.        A series of very popular evaluation/development systems.  Comes
  1817.        complete with the BUFFALO monitor and varying types of development
  1818.        software.  Commonly used for university courses.
  1819.  
  1820.     Dallas Semiconductor DS5000TK
  1821.        The DS5000TK allows evaluation of any DS5000 series device in any
  1822.        existing application without circuit changes.  The included
  1823.        DS5000T plugs into the supplied serial interface pod which
  1824.        provides a connection to a host PC.  A target cable connects the
  1825.        pod to the target system.  Programs can be downloaded directly to
  1826.        the chip (no EPROM programming!) using the built-in serial loader.
  1827.        (With Dunfield's Development System, you end up with a cheap
  1828.        "pseudo-ice".  Dunfield also has a circuit if you want to build a
  1829.        similar device.)
  1830.  
  1831.     Philips DS750
  1832.        For $100, you get a "pseudo-ice" for testing your code in-circuit.
  1833.        Based on the low-end Philips 87c75x parts.  Allows source-code
  1834.        debugging in assembler (included), C, and PL/M.  Very popular with
  1835.        students and consultants to experiment with 80c51 code for their
  1836.        application.  Includes a VERY NICE book which describes the theory
  1837.        of operation of the board itself, and includes a good number of
  1838.        experiments that you can try for yourself.  Philips sold nearly
  1839.        10,000 of these boards in the USA (and 5000 in Europe without even
  1840.        advertising).
  1841.  
  1842.     National Semiconductor's EPU
  1843.        The COP8780 Evaluation / Programming Unit (EPU) offers designers a
  1844.        low-cost ($125) tool for an introduction to National's COP8 Basic
  1845.        Family of 8-bit microcontrollers.  This development tool gives you
  1846.        an inexpensive way to benchmark and evaluate microcontroller code
  1847.        in realtime.  With its built in MIRCOWIRE/PLUS interface, it can
  1848.        interface to numerous MICROWIRE/PLUS devices such as EPROMS,
  1849.        EEPROMS, D/As, A/Ds, DASs, and others, to give a full featured
  1850.        system.  The system includes the EPU board, assembler and debugger
  1851.        software, sample code, very limited C compiler, wall power supply,
  1852.        documentation, and a really great box :-).
  1853.  
  1854.  
  1855. 6.2)  Easy chips to use
  1856.  
  1857.     In addition, several chips provide a similar capability if you are
  1858.     willing to spend a bit of time wiring up a simple circuit.  A few
  1859.     chips worth looking at are:
  1860.  
  1861.     Motorola MC68HC11A8P1
  1862.        Contains Motorola's BUFFALO monitor which has the same
  1863.        functionality as the one on Motorola's evaluation boards.  A
  1864.        working system can be built with this chip and a Maxim MAX-232.
  1865.        You can talk to it with a PC or Mac over a 3-wire RS232
  1866.        connection.  It is easy to load and run anything you want in the
  1867.        on-board RAM and EEPROM.  You can even use subprograms in the
  1868.        BUFFALO monitor after getting a listing from Motorola's BBS or ftp
  1869.        site.  This BBS/ftp site also has freeware assemblers to make a
  1870.        complete development environment cheaply and quickly.
  1871.  
  1872.     Intel 8052AH-BASIC
  1873.        This popular chip with hobbyists is another easy way to get
  1874.        started.  You can download high level code from your host.  The
  1875.        disadvantages are that you can't get away from a multi-chip
  1876.        solution, the code is noticeably slow, you have to buy an MCS
  1877.        BASIC manual, you are detached from the inner workings, there
  1878.        aren't many on-chip goodies like A/D, and you can forget about
  1879.        running off of a battery.
  1880.  
  1881.     Dallas Semiconductor DS5000/DS2250
  1882.        These are well suited even for electronics ignoramuses (ignorami?)
  1883.        such as myself.  All you need to add is a crystal and two
  1884.        capacitors to end up with a working system.  These chips come
  1885.        complete with non-volatile RAM in the form of static RAM (at least
  1886.        8K) backed up with a lithium battery.  Everything is saved -
  1887.        program, data, and bugs ;-).
  1888.  
  1889.     MicroChip PIC '5x series
  1890.        With only 33 instructions, this chip is definitely easy to use!
  1891.        Using Parallax's assembler, the instruction set is ** MUCH ** less
  1892.        intimidating than MicroChip's opcodes!  These chips simply need
  1893.        power, ground, and 1 of 4 different timing circuits. Doesn't get
  1894.        much easier than that!  With I/O pins that are beefy (25mA per pin
  1895.        sink, 20mA per pin source) and drive both high and low,
  1896.        interfacing is super easy.  It's great to hook LEDs and such
  1897.        directly to output pins with only a resister in-line!
  1898.  
  1899.  
  1900. 6.3)  Software (Cheap and easy)
  1901.  
  1902.     You can search for free software for development, but you often get
  1903.     what you pay for.  What is sorely lacking in freeware is technical
  1904.     support.  Several packages are available that provide complete
  1905.     development environments for some of the more popular
  1906.     microcontrollers.  If you want to be productive right away, think
  1907.     about investing $100 or so - it'll be well worth the price!
  1908.  
  1909.  
  1910.     I've been playing with the Dunfield Development System lately (on the
  1911.     8051), and it's really quite nice.  I've also heard many good things
  1912.     about it from others.  It includes a near ANSI-C compiler, run-time
  1913.     library with source, assembler, ROM debugger, integrated development
  1914.     environment, monitor with source, utilities, and other extras.
  1915.     Although not freeware, the low price ($100), the features, all of the
  1916.     extra goodies, and the good reviews make this a package worth looking
  1917.     at.  Also, if you're interested in working on more than one family of
  1918.     microcontroller, Dunfield supports a wide range.  This means only
  1919.     needing to learn one system, instead of many.  The following chips
  1920.     are supported:  6805, 6809, 68hc11, 68hc16, 8051/52, 8080/85, 8086,
  1921.     and 8096.  A package including a simulator and a resident monitor
  1922.     debugger are also available for the 8051 for $50.
  1923.           Dunfield Development Systems
  1924.           P.O. Box 31044, Nepean, Ontario  K2B 8S8   Canada
  1925.           (613)256-5820   Fax: (613)256-5821
  1926.           Email:  ddunfield@bix.com
  1927.  
  1928.  
  1929.     A decent C compiler for the 68hc11 comes from ImageCraft.  This
  1930.     package, which runs under DOS and OS/2, includes a near ANSI C
  1931.     compiler, assembler, linker, librarian, ANSI C functions and headers,
  1932.     and 90 page manual.  The current release is version 1.02 of their
  1933.     compiler.  The price is just $40.  Initial feedback on this compiler
  1934.     seems promising.  The pre-release versions are already in use by many
  1935.     of you, and will still be available as freeware.
  1936.           ImageCraft
  1937.           P.O. Box 64226, Sunnyvale, CA 94086-9991
  1938.           (Richard Man) imagecft@netcom.com
  1939.  
  1940.  
  1941.     Another low priced ($100) C compiler comes from Micro Computer
  1942.     Control.  Cross compilers running under DOS are available for the
  1943.     8051 and the Z8 (including Super-8).  This package includes a C
  1944.     compiler, assembler, linker, librarian, and extensive printed
  1945.     documentation.  A simulator/source code debugger is available for an
  1946.     additional $79.95.
  1947.           Micro Computer Control Corporation
  1948.           PO Box 275, 17 Model Ave., Hopewell, NJ  08525
  1949.           (609)466-1751   Fax: (609)466-4116   BBS: (609)466-4117
  1950.           Email: 73062.3336@compuserve.com
  1951.  
  1952.  
  1953.     C isn't the only development system available (yeah, I know that's
  1954.     hard to believe) - good solid Basic and Forth development systems are
  1955.     also available.  Refer to the appropriate FAQ for the microcontroller
  1956.     that you are using for more information on free and commercial
  1957.     development systems.
  1958.  
  1959.  
  1960.     If the Microchip PIC is your game, then check out the Parallax tools
  1961.     (available on their ftp and web sites).  All Parallax software is
  1962.     available free of charge to all takers!  This includes PSIM (a PIC
  1963.     simulator), PASM (an assembler for '5x parts), and PASMX (an
  1964.     assembler for 'xx parts).  These are the full commercial versions,
  1965.     not hobbled in any way!
  1966.  
  1967.  
  1968. 7)  MICROCONTROLLER PROGRAMMING LANGUAGES
  1969.  
  1970.     Just a bit of an introduction for the beginner.
  1971.  
  1972.  
  1973. 7.1)  Machine/Assembly language
  1974.  
  1975.     Machine language is the program representation as the microcontroller
  1976.     understands it.  It is not easy for humans to read and is a common
  1977.     cause of migraine headaches.  Assembly language is a human-readable
  1978.     form of machine language which makes it much easier for us flesh and
  1979.     bone types to deal with.  Each assembly language statement
  1980.     corresponds to one machine language statement (not counting macros).
  1981.  
  1982.     An assembly/machine language program is fast and small.  This is
  1983.     because you are in complete charge of what goes into the program.  Of
  1984.     course, if you write a slow, large, stupid program, then it will run
  1985.     slowly, be too big, and be stupid.  Assembly language (assembler)
  1986.     can't correct stupidity - although sometimes I wish it could ;-).
  1987.  
  1988.     If you are starting out learning about microcontrollers, it would be
  1989.     worth your while first learning assembler.  By programming in
  1990.     assembler, you master the underlying architecture of the chip, which
  1991.     is important if you intend to do anything significant with your
  1992.     microcontroller.
  1993.  
  1994.  
  1995. 7.2)  Interpreters
  1996.  
  1997.     An interpreter is a high level language translator that is closer to
  1998.     natural language.  The interpreter itself is a program that sits
  1999.     resident in the microcontroller.  It executes a program by reading
  2000.     each language statement one at a time and then doing what the
  2001.     statement says to do.  The two most popular interpreters for
  2002.     microcontrollers are BASIC and FORTH.
  2003.  
  2004.     BASIC's popularity is due to its simplicity, readability, and of
  2005.     course just about everyone has at least played with BASIC at one time
  2006.     or another.  One common compaint about [interpreted] BASIC is that it
  2007.     is slow.  Often this can be solved by using a different technique for
  2008.     performing the desired task.  Other times it is just the price paid
  2009.     for using an interpreter.
  2010.  
  2011.     FORTH has a very loyal following due to its speed (approaching that
  2012.     of assembler language) and its incremental approach to building a
  2013.     system from reusable parts.  Many FORTH systems come with a host
  2014.     system which turns your desktop computer into a development system.
  2015.     FORTH can be quite difficult to write in (if you have no experience
  2016.     with it) and is probably even harder to read.  However, it is a very
  2017.     useful and productive language for control systems and robotics, and
  2018.     can be mastered in time.
  2019.  
  2020.     The nicest thing about developing a system with an interpreter is
  2021.     that you can build your program interactively.  You first write a
  2022.     small piece of code and then you can try it out immediately to see
  2023.     how it works.  When the results are satisfactory, you can then add
  2024.     additional components until the final product is achieved.
  2025.  
  2026.  
  2027. 7.3)  Compilers
  2028.  
  2029.     A compiler is a high level language translator that combines the
  2030.     programming ease of an interpreter with greater speed.  This is
  2031.     accomplished by translating the program (on a host machine such as a
  2032.     desktop PC) directly into machine language.  The machine language
  2033.     program is then burned onto an EPROM or downloaded directly to the
  2034.     microcontroller.
  2035.     The microcontroller then executes the translated program directly,
  2036.     without having to interpret first.
  2037.  
  2038.     The most popular microcontroller compilers are C and BASIC.  PL/M,
  2039.     from Intel, also has some popular support due to that company's
  2040.     extensive use of that language.
  2041.  
  2042.     Due to both its popularity and its slow speed, it was only logical
  2043.     that BASIC would appear as a compiled language.  A few companies
  2044.     supply a BASIC compiler for several of the more popular
  2045.     microcontrollers.  Execution speed is drastically increased over
  2046.     interpreted BASIC since the microcontroller is freed from the task of
  2047.     interpreting the statements as the program runs.
  2048.  
  2049.     While interpreted Forth approaches (and sometimes surpasses) the
  2050.     speed of many compilers, compiled Forth screams along.  Today there
  2051.     are many high performance optimizing native code Forth compilers, and
  2052.     there are also lots of very cheap or free public domain Forths.  Some
  2053.     of them like Tom Almy's ForthCMP produces optimized native code with
  2054.     less overhead and better performance than just about anything else
  2055.     out there.  Of course it still has compactness and more elegant
  2056.     factoring of functionality than in most languages.
  2057.  
  2058.     C is now the language of choice for the entire universe.  C is used
  2059.     on computers from the tiny microcontroller up to the largest Cray
  2060.     supercomputer.  Although a C program can be a bit tedious at times to
  2061.     read (due to the terse programming style followed by many C
  2062.     programmers), it is a powerful and flexible development tool.
  2063.     Although a high level language, it also gives the developer access to
  2064.     the underlying machine.  There are several very good and cheap C
  2065.     compilers available for the more popular microcontrollers.  It is
  2066.     widely used, available, supported, and produces fairly efficient code
  2067.     (fast and compact).
  2068.  
  2069.  
  2070. 7.4)  Fuzzy Logic and Neural Networks
  2071.  
  2072.     Fuzzy Logic and neural networks are two design methods that are
  2073.     coming into favor in embedded systems.  The two methods are very
  2074.     different from each other, from conception to implementation.
  2075.     However, the advantages and disadvantages of the two can complement
  2076.     each other.
  2077.  
  2078.     The advantage of neural networks is that it is possible to design
  2079.     them without completely understanding the underlying logical rules by
  2080.     which they operate.  The neural network designer applies a set of
  2081.     inputs to the network and "trains" it to produce the required output.
  2082.     The inputs must represent the behavior of the system that is being
  2083.     programmed, and the outputs should match the desired result within
  2084.     some margin of error.  If the network's output does not agree with
  2085.     the desired result, the structure of the neural network is altered
  2086.     until it does.  After training it is assumed that the network will
  2087.     also produce the desired output, or something close to it, when it is
  2088.     presented with new and unknown data.
  2089.  
  2090.     In contrast, a fuzzy-logic system can be precisely described.  Before
  2091.     a fuzzy control system is designed, its desired logical operation
  2092.     must be analyzed and translated into fuzzy-logic rules.  This is the
  2093.     step where neural networks technology can be helpful to the
  2094.     fuzzy-logic designer.  The designer can first train a software neural
  2095.     network to produce the desired output from a given set of inputs and
  2096.     outputs and then use a software tool to extract the underlying rules
  2097.     from the neural network.  The extracted rules are translated into
  2098.     fuzzy-logic rules.
  2099.  
  2100.     Fuzzy logic is not a complete design solution.  It supplements rather
  2101.     than replaces traditional event control and PID (proportional,
  2102.     integral, and derivate) control techniques.  Fuzzy logic relies on
  2103.     grade of membership and artifical intelligence techniques.  It works
  2104.     best when it is applied to non-linear systems with many inputs that
  2105.     cannot be easily expressed in either mathematical equations used for
  2106.     PID control or IF-THEN statements used for event control.
  2107.  
  2108.     In an effort to change fuzzy logic from a "buzzword" (as it is in
  2109.     most parts of the world) to a well established design method (as it
  2110.     is in Japan), most manufacturers of microcontrollers have introduced
  2111.     fuzzy logic software.  Most software generates code for specific
  2112.     microcontrollers, while other generates C code which can be compiled
  2113.     for any microcontroller.
  2114.  
  2115.  
  2116. 8)  DEVELOPMENT TOOLS
  2117.  
  2118.     Having a programming language is usually not enough to develop a
  2119.     program for a microcontroller.  Some way of debugging your program is
  2120.     needed.  I am only too painfully aware of this fact.
  2121.  
  2122.  
  2123. 8.1)  Simulators
  2124.  
  2125.     A simulator runs your microcontroller program on a host machine (such
  2126.     as your PC).  You can step through the code to see exactly what is
  2127.     happening as the program runs.  Contents of registers or variables
  2128.     can be altered to change the way the program runs.  Eliminates (or at
  2129.     least delays) the erase/burn/program EPROM cycle common in
  2130.     microcontroller program development.  You can work out ideas or learn
  2131.     about microcontrollers by experimenting with small code fragments and
  2132.     watching on the screen what happens.  A simulator can't support real
  2133.     interrupts or devices, and usually runs much slower than the real
  2134.     device the program is intended for.
  2135.  
  2136.     Some manufacturers have a cross between a software simulator and the
  2137.     hardware emulator - a hardware simulator.  This is a piece of
  2138.     equipment that plugs into your target, and the pins will toggle and
  2139.     react like they should - just MUCH slower.  Cost of a device like
  2140.     this is only about $100.  Two such boards by National Semiconductor
  2141.     and Philips are detailed in section 6.2.
  2142.  
  2143.  
  2144. 8.2)  Resident Debuggers
  2145.  
  2146.     A resident debugger runs your program on the microcontroller itself,
  2147.     while showing the progress on your host machine (such as a PC).  Has
  2148.     many of the same advantages as simulator above, with the additional
  2149.     benefit of seeing how the program runs on the real target machine.  A
  2150.     resident debugger needs to "steal" some resources from the target
  2151.     machine, including: a communications port to communicate with the
  2152.     host, an interrupt to handle single stepping, and a certain amount of
  2153.     memory for the resident part (on the target) of the debugger.
  2154.  
  2155.  
  2156. 8.3)  Emulators
  2157.  
  2158.     If you've got the money, this is the equipment you want to develop
  2159.     your system with (yeah, that's right, a preposition at the end of a
  2160.     sentence!).  A [usually] expensive piece of hardware that even for
  2161.     the cheaper versions will run you at least $700.  An emulator is a
  2162.     sophisticated device that pretends that it is the microprocessor
  2163.     itself, while at the same time capturing information.  It provides
  2164.     full and total control over your target, while at the same time not
  2165.     requiring any resources from the target.  The emulator can either be
  2166.     a stand alone device with its own display, or it can be interface to
  2167.     a PC.
  2168.  
  2169.  
  2170. 8.4)  Good Stereo System
  2171.  
  2172.     This is the most important tool for the microcontroller developer, or
  2173.     for any computer system developer for that matter.  Don't expect to
  2174.     get anywhere unless you have the proper music playing in the
  2175.     background(?) at the proper volume.  I find that I do my best work
  2176.     with the Rolling Stones (especially Goats Head Soup) or Clapton
  2177.     (especially early stuff like Cream - Disraeli Gears is a killer
  2178.     album!).  The volume must be set to cause excrutiating pain to be
  2179.     most effective.  Trust me on this ;-).
  2180.  
  2181.     Tom Mornini of Parallax reports:  "Johnny Cash also has a certain
  2182.     effectiveness, as well as the Beatles, Aerosmith, and Rush!  60's
  2183.     rock and British invasion bands in particular seem to have a
  2184.     particularly productive effect."
  2185.  
  2186.     This would be an interesting topic for an in-depth study.
  2187.     Particularly intriguing, is if certain types of music work better
  2188.     with specific [families of] processors.  Another question in need of
  2189.     study would be if it's really true that the smaller the chip (in
  2190.     bits), the louder the music needs to be.
  2191.  
  2192.  
  2193. 9)  FINDING OUT MORE ABOUT MICROCONTROLLERS
  2194.  
  2195.     If you are interested in learning more about microcontrollers, there
  2196.     are many fine sources of information.  You have your choice of
  2197.     printed media (books, periodicals, informative graffiti) or
  2198.     interactive (right here on the Internet, or BBSs).
  2199.  
  2200.  
  2201. 9.1)  Books
  2202.  
  2203.     8-bit Microcontroller Instruction Set Performance
  2204.         - Digitial Systems Consulting / June 1994
  2205.         - compares Motorola's M68HC05, Intel's 80x51,
  2206.             Microchip's PIC16C5x, and National's COP8
  2207.         - lit number 630008
  2208.         - (800)272-9959 call this number for copies
  2209.  
  2210.     The 16 bit 8096:  Programming, Interfacing, Applications
  2211.         - Ron Katz and Howard Boyet
  2212.         - Microprocessor Training Inc
  2213.           14 East 8th Street, New York, NY  10003
  2214.           212-473-4947
  2215.         - Library of Congress Catalog card number:  85-61954
  2216.         - According to William Chernoff:  "The book is pretty good -
  2217.           mostly software examples.  The one hardware thing I looked
  2218.           closely at was wrong - a schematic error.  Oh well."
  2219.  
  2220.     The 68hc11 Microcontroller
  2221.         - Joseph D. Greenfield (at R.I.T.)
  2222.         - Saunders College Publishing, (Harcourt Brace Jovanovich)
  2223.         - 1992
  2224.         - ISBN 0-03-051588-2
  2225.         - A number of the sections make use of the Buffalo monitor.
  2226.           This could be useful if you are using the Motorola Trainer EVB.
  2227.  
  2228.     The 8051 Family of Microcontrollers
  2229.         -Richard H. Barnett
  2230.         -Prentice-Hall, 1995 (yeah, that's right, 1995!)
  2231.         -ISBN 0-02-306281-9
  2232.  
  2233.     8051 Interfacing and Applications
  2234.         - Applied Logic Engineering
  2235.           13008 93rd Place North, Maple Grove, MN  55369
  2236.         - (612)494-3704
  2237.  
  2238.     The 8051 Microcontroller
  2239.         - I. Scott MacKenzie
  2240.         - Macmillan Publishing Company, 1992
  2241.         - includes schematics for a single-board computer,
  2242.           assembly-language source code for a monitor program, and
  2243.           interfaces to a keypad, LEDs, and loudspeaker.
  2244.  
  2245.     The 8051 Microcontroller
  2246.         - James W. Stewart
  2247.         - Regents/Prentice-Hall, 1993
  2248.         - $27.50, 273 pages
  2249.         - includes many interfacing examples (switches, solenoids,
  2250.           relays, shaft encoders, displays, motors, and A/D converters)
  2251.           and a chapter on top-down design method
  2252.  
  2253.     The 8051 Microcontroller: Architecture, Programming and Applications
  2254.         - Kenneth J. Ayala
  2255.         - 241 pages, soft cover
  2256.         - 5.25" diskette with assembler and simulator
  2257.         - ISBN 0-314-77278-2, Dewey 004.165-dc20
  2258.         - West Publishing Company
  2259.           P.O. Box 64526, St. Paul, MN  55164
  2260.           (800)328-9352
  2261.         - see review in next section
  2262.  
  2263.     The Art of Programming Embedded Systems
  2264.         - Jack G. Ganssle
  2265.         - 1992, 279pp, $55.00
  2266.         - ISBN: 0-12-274880-0
  2267.         - CONTENTS: Introduction, Initial Considerations.  Elegant
  2268.           Structures.  Designs for Debugging.  Design for Test.  Memory
  2269.           Management.  Approximations. Interrupt Mamangement.  Real-Time
  2270.           Operating Systems.  Signal Sampling and Smoothing.  A Final
  2271.           Perspective.  Appendixes: Magazines, File Format.  Serial
  2272.           Communications.  Bibliography.  Index.
  2273.  
  2274.     Assembly Language Programming (for the MCS-51 family)
  2275.         - F. A. Lyn
  2276.         - L. S. Electronic Systems Design
  2277.  
  2278.     Basic-52 Programmer's Guide
  2279.         - Systronix, Inc. (they also sell a Basic compiler)
  2280.         - address above
  2281.  
  2282.     Beginner's Guide
  2283.         - Suncoast Technologies
  2284.  
  2285.     A Beginners Guide to the Microchip PIC
  2286.         - Nigel Gardner
  2287.         - Character Press, Ltd. (UK)
  2288.         - ISBN 1 899013 00 8
  2289.         - software (on floppy) and hardware guide, debugging techniques
  2290.         - suitably titled, for those with no previous microcontroller
  2291.           experience
  2292.         - 19.95 UK Pounds
  2293.  
  2294.     The PIC Source Book:
  2295.         - assembly language source code on diskette
  2296.         - $39
  2297.         - Scott Edwards Electronics
  2298.           964 Cactus Wren Lane, Sierra Vista, AZ  85635
  2299.           (602)459-4802    Fax: (602)459-0623
  2300.           72037.2612@compuserve.com
  2301.  
  2302.     C and the 8051
  2303.         - Thomas W. Schultz
  2304.         - Prentice Hall
  2305.         - ISBN 0-13-753815-4
  2306.  
  2307.     Data Acquisition and Process Control with the M68HC11 Microcontroller
  2308.         - Frederick Driscoll, Robert Coughlin, Robert Villanucci of
  2309.           Wentworth Institute of Technology.
  2310.         - Macmillan Publishing Company
  2311.         - 1994
  2312.         - ISBN 0-02-33055-X
  2313.         - Several Chapters on the 68HC11, instructions, and EVB;
  2314.           chapters on interfacing Analog and Digital signals to the
  2315.           68HC11;  example applications of interfaces to temperature,
  2316.           load cell, pressure and thermocouple sensors.
  2317.         - a good companion to Motorola's "pink" books
  2318.  
  2319.     Data book / Handbook / Users' Guide
  2320.         - Advanced Micro Devices
  2321.         - Dallas (User's guide for the DS5000)
  2322.         - Intel
  2323.         - Siemens
  2324.  
  2325.     Design with Microcontrollers
  2326.         - John B. Peatman
  2327.         - ISBN 0-07-049238-7
  2328.         - This book is on a more advanced level.  Uses both the 68hc11
  2329.           and Intel 8096 as example systems.
  2330.         - Used for a very popular course on microcontroller design at
  2331.           Georgia Tech.
  2332.  
  2333.     Embedded Controller Forth for the 8051 Family
  2334.         - Academic Press
  2335.         - William H. Payne
  2336.         - uses a Forth development system available on the Internet
  2337.  
  2338.     Embedded Controllers Databook 1992 Edition
  2339.         - National Semiconductor Corporation
  2340.         - literature number: 400049
  2341.         - (800)272-9959 call this number for for copies
  2342.  
  2343.     Embedded Systems Programming in C and Assembler
  2344.         - John Forrest Brown
  2345.         - Van Nostrand Reinhold, 1994
  2346.         - 304 pages, $49.95
  2347.         - ISBN 0-442-01817-7
  2348.         - covers Motorola and Intel processors
  2349.         - includes diskette with code from the book
  2350.         - book review in Dr. Dobb's Journal, November 1994, page 121
  2351.  
  2352.     Experimenter's guide
  2353.         - Rigel Corporation
  2354.  
  2355.     Introduction to Microcontroller Design, Based on the 8051 family of
  2356.     Processors
  2357.         - Business Data Computers
  2358.           P.O. Box 1549, Chester, CA  96020
  2359.  
  2360.     M68hc11 Reference Manual
  2361.         - Motorola - literature reference M68HC11RM/AD
  2362.         - This document is the "bible" of the 6811 and is a must-have
  2363.           for any serious 6811 programmer.
  2364.  
  2365.     MC68hc811E2 Programming Reference Guide
  2366.         - Motorola - literature reference M68HC811E2RG
  2367.         - A pocket-sized guide to the version of the 6811 used on the
  2368.           Mini Board
  2369.  
  2370.     The Microcontroller Idea Book
  2371.         - Jan Axelson (of Microcomputer Journal fame)
  2372.         - features the 8052-BASIC microcontroller
  2373.         - hands-on guide with complete plans (schematics, design theory,
  2374.           program listings, construction details, etc)
  2375.         - explains how to use sensors, relays, displays, clock/calendars,
  2376.           keypads, wireless links, and more
  2377.         - 1994, 273 pages, $31.95 + shipping
  2378.         - Lakeview Research, 2209 Winnebago St., Madison, WI  53704
  2379.           (608)241-5824  Internet: 71163.3555@compuserve.com
  2380.         - contact the author at janaxel@aol.com
  2381.  
  2382.     Microcomputer Engineering
  2383.         - Gene H. Miller
  2384.         - Prentice Hall, Englewood Cliffs, NJ  07632
  2385.         - 1993
  2386.         - ISBN 0-13-584475-4
  2387.         - Explains the basics.  Many clear and concise assembly language
  2388.           example programs.
  2389.         - Written to be used with the Motorola Trainer (EVB).
  2390.  
  2391.     Microcontroller Technology, The 68hc11
  2392.         - Peter Spasov
  2393.         - Prentice Hall
  2394.         - ISBN 0-13-583568-2
  2395.  
  2396.     Microcontrollers: Architecture, Implementation, and Programming
  2397.         - Kenneth Hintz and Daniel Tabak
  2398.         - McGraw-Hill Inc.  1992
  2399.         - ISBN 0-07-028977-8
  2400.  
  2401.     PIC 16Cxx Development Tools instructions manuals
  2402.         - Parallax, Inc.
  2403.         - Instruction manual for the Parallax PIC assemblers
  2404.         - Instruction manual for the Parallax Software Simulator
  2405.         - Instruction manual for the Parallax PIC programmer hardware
  2406.         - Details the Parallax PIC instruction set
  2407.  
  2408.     PIC 16Cxx Applications Handbook
  2409.         - Parallax, Inc.
  2410.         - Contains condensed data sheets for '5x, '64, '71, and '84
  2411.           controllers
  2412.         - Contains 14 application notes showing circuits and code for
  2413.           common projects using the PIC series of microcontrollers.
  2414.  
  2415.     Posix.4:  Programming for the Real World
  2416.         - Bill O. Gallmeister
  2417.         - O'Reilly and Associates, 1995
  2418.         - ISBN 1-56592-074-0
  2419.         - Part I of the book describes the Posix standard (what it is,
  2420.           what it isn't, and what it's for), and explains the principles
  2421.           of real time programming (tasking, messages, scheduling, I/O,
  2422.           and performance) and why Unix isn't fit for real-time
  2423.           programming.  Part II is a reference on the Posix functions and
  2424.           header files.  Part III contains much of the code for the
  2425.           exercises in the book.
  2426.  
  2427.     Programmer's Guide to the 1802
  2428.         - Tom Swan
  2429.         - Hayden Book Company, Inc., 1981
  2430.         - ISBN 0-8104-5183-2
  2431.         - good introduction to assembly language progamming and an
  2432.           thorough tutorial on the 1802
  2433.  
  2434.     Programming Microcontrollers in C
  2435.         - Ted Van Sickle
  2436.         - HighText Publications, 1994
  2437.         - 394 pages, $29.95
  2438.         - ISBN 1-878707-14-0
  2439.         - thorough tutorial on C programming, covers aspects of C
  2440.           programming specific to embedded systems
  2441.         - covers the Motorola line of microcontrollers (small to large)
  2442.         - book review in Dr. Dobb's Journal, November 1994, page 121
  2443.  
  2444.     The Real-Time Kernel
  2445.         - Jean Labrosse
  2446.         - R&D Publications, Inc.
  2447.           Suite 200 1601 W 23rd St., Lawrence, KS  66046
  2448.         - (913)841-1631   Fax: (913)841-2624
  2449.         - Based on the article "A Portable Real Time Kernel in C"
  2450.           in Embedded Systems Programming (Part 1: vol 5 no 5
  2451.           May 1992, Part 2: vol 5 no 6 June 1992)
  2452.         - originally written for the Intel 186 but ported to HC11
  2453.           source code for UCOS11
  2454.  
  2455.     Single- and Multiple-Chip Microcomputer Interfacing
  2456.         - G.J. Lipovski
  2457.         - Copyright 1988
  2458.         - 478 pages
  2459.         - ISBN 0-13-810557-X (Prentice-Hall Edition)
  2460.           ISBN 0-13-810573-1 (Motorola Edition)
  2461.         - Based around the 68HC11 it covers both hardware and
  2462.           software at undergraduate level, but the emphasis is on
  2463.           interfacing.
  2464.         - Chapter titles:
  2465.                1  Microcomputer Architecture
  2466.                2  Programming Microprocessors
  2467.                3  Bus Hardware and Signals
  2468.                4  Parallel and Serial I/O
  2469.                5  Interrupts and Alternatives
  2470.                6  Analog Interfacing
  2471.                7  Counters and Timers
  2472.                8  Communications Systems
  2473.                9  Storage and Display Systems
  2474.  
  2475.     Single- and Multiple- Chip Microcomputer Interfacing (Lab Manual)
  2476.         - Peter Song and G. Jack Lipovski
  2477.         - Prentice-Hall, 1988
  2478.         - ISBN 0-13-811605-9
  2479.         - Support for the above book.  Examples based around the Motorola
  2480.           EVB and the BUFFALO monitor or the EVBU (or 3-chip micro) and
  2481.           PC-Bug11.
  2482.  
  2483.     User Manual for the CDP1802 COSMAC Microprocessor
  2484.         - RCA, 1977
  2485.         - contains useful hardware and software techniques
  2486.  
  2487.  
  2488. 9.2)  Data and Reference Books
  2489.  
  2490.     Motorola
  2491.         - M68hc11 Reference Manual, ref # M68HC11RM/AD
  2492.              this document is the "bible" of the 6811 and is a must-have
  2493.                for any serious 6811 programmer
  2494.              contact Motorola at 800-521-6274 (in the U.S.) to get a free
  2495.                copy of this manual
  2496.         - MC68hc811E2 Programming Reference Guide, ref # M68HC811E2RG
  2497.              a pocket-sized guide to the version of the 6811 used on the
  2498.              Mini Board, "ownership of this handy reference is proof of
  2499.              being a true 6811 nerd" - by Fred Martin
  2500.  
  2501.     National Semiconductor - (800)272-9959 for copies
  2502.         - COP8 Databook, ref # 400007
  2503.         - COP8 Selection Guide, ref # 630006
  2504.         - COP8 Designers Information Kit, ref # 6300007-005
  2505.              contains: - COP8 Databook (1994 Edition)
  2506.                        - COP8 Selection Guide (1994 Edition)
  2507.                        - Independent 8-bit Instruction Set Analysis
  2508.                        - Independently prepared software analysis of
  2509.                          National's COP8, Motorola's M68Hc05, Intel's
  2510.                          80X51, and Microchip's PIC16C5X
  2511.                        - Utility and Overview Disks
  2512.                        - Self-lead overview on COP8, includes electronic
  2513.                          selection guide and sample application code
  2514.         - COP8 Utility Disk, Mac ref # 6300000, Windows ref # 630001
  2515.              typical microcontroller applications and sample code
  2516.              available by ftp nscmicro.nsc.com in/pub/COP8
  2517.         - COP8 Overview Disk, Mac ref # 630004, Windows ref # 630005
  2518.              self-lead COP8 overview, shows product features/benifits
  2519.                 and includes a electronic selection guide (2 disks)
  2520.              available by ftp nscmicro.nsc.com in /pub/COP8
  2521.  
  2522.  
  2523. 9.3)  Periodicals
  2524.  
  2525.     Various magazines and journals (journals seems to be THE popular name
  2526.     for magazines these days) provide articles from time to time on
  2527.     microcontrollers.  If you are just starting out learning, pick those
  2528.     magazines that feature construction articles.
  2529.  
  2530.     The Computer Applications Journal (Circuit Cellar Ink)
  2531.         - programming and construction articles
  2532.         - POB 7694, Riverton, NJ  08077-8784
  2533.         - Fax: (203)872-2204
  2534.         - Voice orders: (609) 786-0409
  2535.         - On-line orders (BBS): (203) 871-1988
  2536.         - Email orders: ken.davidson@circellar.com
  2537.         - $21.95, $31.95 surface Canada and Mexico,
  2538.           $49.95 air all other countries
  2539.  
  2540.     Computer Design
  2541.         - industry announcements and trends
  2542.         - One Technology Park Drive, P.O. Box 990, Westford, MA  01886
  2543.         - (508)692-0700
  2544.  
  2545.     The Computer Journal
  2546.         - programming and construction articles
  2547.         - PO Box 535, Lincoln  96648
  2548.  
  2549.     Dr. Dobbs Journal
  2550.         - programming articles, concepts, and designs
  2551.         - 411 Borel Ave., San Mateo, CA  94402
  2552.         - (415)358-9500
  2553.  
  2554.     Electronic Engineering Times
  2555.         - industry announcements and trends
  2556.         - 500-B Bi-County Boulevard, Farmingdale, NY  11735
  2557.         - (516)293-3000
  2558.  
  2559.     Electronics Now
  2560.         - construction articles
  2561.         - Box 55115, Boulder, CO  80321-5115
  2562.         - $19.97 one year
  2563.  
  2564.     Elektor Electronics
  2565.         - programming and construction articles
  2566.         - World Wide Subscription Service Ltd
  2567.           Unit 4, Gibbs Reed Farm, Pashley Road
  2568.           Ticehurst TN5 7HE, England
  2569.         - 27 UK pounds
  2570.      or
  2571.         - Old Colony Sound Lab, P.O. Box 243, Peterborough, NH 03458
  2572.         - Tel. (603) 924-6371, 924-6526
  2573.         - Fax: (603) 924-9467
  2574.         - $57 USA and Canada per year
  2575.  
  2576.     Embedded Systems Programming
  2577.         - programming and systems design articles
  2578.         - Miller Freeman Publications
  2579.         - 500 Howard St., San Francisco, CA  94105
  2580.         - (415) 397-1881
  2581.  
  2582.     Inquisitor Magazine
  2583.         - If you're the type that watched Gilligan's Island for its
  2584.           socio-political insights, then you'll love a new 'zine that
  2585.           just crossed my desk - Inquisitor Magazine.  It's general
  2586.           philosophy seems to be ... well, it seems to be ... uh, yeah!
  2587.           Technical in nature, bizarre, tongue in cheek, eclectic,
  2588.           electric, did I mention bizarre(?), and lots of fun.  Worth
  2589.           looking at if you like the out of the ordinary.  The moving
  2590.           force behind this magazine is Daniel Drennan, who seems to have
  2591.           suffered from an overdose of radiation from his computer
  2592.           monitor ;-).
  2593.         - Planetarium Station, P.O.Box 132
  2594.           New York, NY  10024-0132
  2595.         - (212)595-8370
  2596.         - Email: inquisitor@echonyc.com
  2597.         - $16 per year (4 issues)
  2598.  
  2599.     Microcomputer Journal (formerly Computer Craft)
  2600.         - programming and construction articles
  2601.         - 76 N. Broadway, Hicksville, NY  11801
  2602.         - $18.95 one year, foreign $23.00, foreign air mail $76.00
  2603.  
  2604.     Midnight Engineering
  2605.         - 1700 Washington Ave., Rocky Road, CO  81067
  2606.         - (719)254-4553
  2607.  
  2608.     MW Media - Product Directories
  2609.         - Motorola Microcontroller Tools Directory
  2610.           ('94 edition out in 3 weeks)
  2611.         - Motorola 68K Source ('94 edition available now)
  2612.         - Intel Development Tools Handbook ('95 edition just beginning)
  2613.           (survey of commercial development tools for the 8051, 8096,
  2614.           and 80186 lines of Intel microprocessors)
  2615.         - Embedded Intel 386 Directory (released in Aug '94)
  2616.         - Intel 486/Pentium directory (forthcoming in '95)
  2617.         - 8051 Product Directory ('94 edition out in 4 weeks)
  2618.           (survey of various 8051 products)
  2619.         - Hitachi Microcontroller Development Tools Directory
  2620.           (out in '95)
  2621.         - AMD FusionE86 Directory (out in '95)
  2622.           (186,386,486)
  2623.         - AMD 29K Directory (pending in '95)
  2624.         - Low Power Product Directory (out in '95)
  2625.           (3.3. volts and lower)
  2626.         - DSP Directory (released in May '94)
  2627.         - Multimedia CD (hopefully out in '95)
  2628.         - These documents could very well be a "must" if you're into
  2629.           serious development using any of these chips.  If you are
  2630.           "just" a hobbyist, see how the "other half" lives.
  2631.         - FREE to qualified developers
  2632.         - MW Media
  2633.         - Fairmont Plaza, 50 W. San Fernando, #675, San Jose, CA  95113
  2634.         - (408)288-4721   (408)286-4200   FAX: (408)288-4728
  2635.  
  2636.     Nuts & Volts Magazine
  2637.         - A National Publication for the Buying and Selling of
  2638.           Electronic Equipment
  2639.         - 430 Princeland Court, Corona, CA  91719
  2640.         - Mailed third class, USA only:  $17.00 one year
  2641.                                          $31.00 two years
  2642.         - Mailed first class, one year only:  $34.00-USA
  2643.                                               $35.00-Canada/Mexico
  2644.         - Foreign/Air Mail - $70.00;  Foreign/Surface - $39.00
  2645.         - (800)783-4624
  2646.         - Email:  74262.3664@Compuserve.com
  2647.  
  2648.  
  2649. 9.4)  Internet newsgroups
  2650.  
  2651.     Various newsgroups frequently have discussions or information on
  2652.     various microcontrollers.  Among some of the more useful (especially
  2653.     the first 3 newsgroups):
  2654.  
  2655.     comp.robotics
  2656.        Microcontrollers figure heavily in robotics projects.  You will
  2657.        find a lot of information about the subject in this newsgroup.
  2658.        Even if you aren't building a robot, check this newsgroup out.
  2659.        Lots of 68hc11 activity, too.
  2660.  
  2661.     sci.electronics
  2662.     alt.comp.hardware.homebuilt
  2663.        Two good places to find [mostly technical] discussions on
  2664.        microcontroller use and implementation.  Most of the participants
  2665.        are crazy about "rolling their own", and are eager to share their
  2666.        knowledge.
  2667.  
  2668.     comp.realtime
  2669.        Occasional discussions about real-time use of microcontollers.
  2670.  
  2671.     comp.sys.m68k
  2672.        The full line of Motorola 68000 microprocessors is discussed in
  2673.        this newsgroup, including the very powerful and advanced
  2674.        microcontrollers based on this family.
  2675.  
  2676.     comp.sys.6809
  2677.        This newsgroup covers an old-time favorite, the 6809
  2678.        microprocessor, which is commonly used for control applications.
  2679.        Motorola 8 bit microprocessors and microcontrollers (6805, 6811,
  2680.        etc.) are also discussed in this newsgroup.
  2681.  
  2682.     comp.sys.intel
  2683.        Mostly trends and development are discussed in this newsgroup.
  2684.        From time to time you will find a discussion on some obtuse
  2685.        technical problem or feature.  Lately, the participants seem to
  2686.        spend all of their time whining about the Pentium bug.
  2687.  
  2688.     comp.lang.misc
  2689.        Sometimes questions or discussions on different microcontroller
  2690.        topics pop up here.  I guess it's the ".misc" that attracts these
  2691.        questions.
  2692.  
  2693.     comp.ai.fuzzy
  2694.        Fuzzy logic is rapidly becoming an increasingly important aspect
  2695.        of [microcontroller based] control systems.  This group might very
  2696.        well become an important forum for those involved in developing
  2697.        control systems.
  2698.  
  2699.     comp.dsp
  2700.        Discussions on Digital Signal Processsing
  2701.  
  2702.     comp.sys.ti
  2703.        Texas Instruments products discussed here
  2704.  
  2705.     sci.engr.control
  2706.        This forum is for the discussion of control and embedded systems.
  2707.  
  2708.     sci.engr.semiconductors
  2709.  
  2710.  
  2711. 9.5)  Internet sources of information on specific microcontrollers
  2712.  
  2713.     If you are interested in finding sources of information on a specific
  2714.     microcontroller, check out the really fine FAQs ;-) that have been
  2715.     compiled for the more popular microcontrollers.
  2716.  
  2717.       Subject:  PIC microcontrollers
  2718.       Newsgroups:  comp.realtime
  2719.                    comp.robotics
  2720.                    sci.electronics
  2721.                    sci.electronics.repair
  2722.       Archive:  rtfm.mit.edu :  <plus all mirror sites>
  2723.                 /pub/usenet/comp.answers/microcontroller-faq/PIC
  2724.                 /pub/usenet/sci.answers/microcontroller-faq/PIC
  2725.                 /pub/usenet/news.answers/microcontroller-faq/PIC
  2726.       Maintainer:  Tom Kellett
  2727.                    Email: Tom@takdsign.demon.co.uk
  2728.  
  2729.       Subject:  8051 microcontrollers
  2730.       Newsgroups:  comp.sys.intel
  2731.                    comp.realtime
  2732.                    comp.robotics
  2733.                    comp.lang.forth
  2734.                    sci.electronics
  2735.       Archive:  rtfm.mit.edu :  <plus all mirror sites>
  2736.                 /pub/usenet/comp.answers/microcontroller-faq/8051
  2737.                 /pub/usenet/sci.answers/microcontroller-faq/8051
  2738.                 /pub/usenet/news.answers/microcontroller-faq/8051
  2739.       Maintainer:  Russ Hersch
  2740.                    Email: sibit@datasrv.co.il
  2741.  
  2742.       Subject:  68hc11 microcontrollers
  2743.       Newsgroups:  comp.realtime
  2744.                    comp.robotics
  2745.                    sci.electronics
  2746.       Archive:  rtfm.mit.edu :  <plus all mirror sites>
  2747.                 /pub/usenet/comp.answers/microcontroller-faq/68hc11
  2748.                 /pub/usenet/sci.answers/microcontroller-faq/68hc11
  2749.                 /pub/usenet/news.answers/microcontroller-faq/68hc11
  2750.       Maintainer:  Russ Hersch
  2751.                    Email: sibit@datasrv.co.il
  2752.  
  2753.       Subject:  Motorola 68K microprocessor line
  2754.       Newsgroups:  comp.sys.m68k
  2755.       Archive:  bode.ee.ualberta.ca : pub/motorola/general
  2756.                 ftp.luth.se : /pub/misc/motorola/faq
  2757.                 file name of archive is m68kfaq?.zip (? is version)
  2758.       Comments:  also includes information on the 683xxx and 68hc16
  2759.       Maintainer:  Robert Boys - Ontario, Canada
  2760.                    Email: r.boys@genie.geis.com
  2761.                                  or
  2762.                           fboys@uoguelph.ca
  2763.  
  2764.  
  2765.     Several other FAQs have been compiled that address various aspects of
  2766.     microcontroller design and implementation.
  2767.  
  2768.       Subject:  Robotics
  2769.       Newsgroups:  comp.robotics
  2770.       Maintainer:  Kevin Dowling
  2771.                    (412)268-8830
  2772.                    Email: nivek@ri.cmu.edu
  2773.                    Smail: Carnegie Mellon University
  2774.                           The Robotics Institute
  2775.                           Pittsburgh, PA 15213
  2776.  
  2777.       Subject:  Electronics
  2778.       Newsgroups:  sci.electronics
  2779.       Comments:  There are a number of FAQs available in this newsgroup
  2780.                  on various subjects.  Among some of the subjects covered
  2781.                  are:  LCDs, stepper motors, suppliers, etc.
  2782.  
  2783.       Subject:  Real-time
  2784.       Newsgroups:  comp.realtime, comp.answers, news.answers
  2785.       Archive:  rtfm.mit.edu : pub/usenet/comp.realtime
  2786.       Maintainer:  Mark Linimon
  2787.                        Lonesome Dove Computing Services
  2788.                        Roanoke, Virginia
  2789.                    Email: linimon@nominil.lonesome.com.
  2790.  
  2791.       Subject:  Neural Networks
  2792.       Newsgroups:  comp.ai.neural-nets,comp.answers,news.answers
  2793.       Archive:  rtfm.mit.edu : pub/usenet/neural-net-faq
  2794.       Maintainer:  Lutz Prechelt
  2795.                    Email: prechelt@ira.uka.de
  2796.  
  2797.       Subject:  Fuzzy Logic
  2798.       Newsgroups:  comp.ai.fuzzy,comp.answers,news.answers
  2799.       Archive:  rtfm.mit.edu : pub/usenet/fuzzy-logic/
  2800.       Maintainer:  Mark Kantrowitz
  2801.                    Email: mkant+@cs.cmu.edu
  2802.  
  2803.       Subject:  Embedded Systems FAQ Roadmap
  2804.       Comments:  Lists various sources of information on embedded systems
  2805.                  found on the Internet
  2806.       Archive:  email cera@netcom.com
  2807.                 send EMBFAQ in SUBJECT line
  2808.       Maintainer:  CERA Research
  2809.  
  2810.  
  2811. 10)  MICROCONTROLLER FREE SOFTWARE SOURCES
  2812.  
  2813.     This section includes descriptions and references to free
  2814.     microcontroller software.  FTP sites and BBSs contain many quality
  2815.     packages and code samples for free.  For heavy duty use, you might
  2816.     prefer the many commercial packages that are available.  With the
  2817.     public domain (or free) stuff, you're usually on your own.  The
  2818.     commercial packages usually provide extensive documentation and
  2819.     support.
  2820.  
  2821.     If you are looking for commercial software for the 8051, 68hc11, or
  2822.     PIC, then check out the FAQs on these microcontrollers for details on
  2823.     what is available.
  2824.  
  2825.  
  2826. 10.1)  FTP sites
  2827.  
  2828.     The following is a list of the anonymous ftp sites that have source
  2829.     code and programming languages for various microcontrollers.  There
  2830.     are many others that  are not listed here that contains bits and
  2831.     pieces.  Usually you can find them using Archie and searching for
  2832.     variations on the name of the microntroller you are looking for.
  2833.  
  2834.     ftp.pppl.gov (formerly lyman.pppl.gov)
  2835.         - this is a great source of 8051 stuff
  2836.         /pub/8051
  2837.         /pub/incoming - check this out for new untested/unsorted items
  2838.  
  2839.     ftp.mcc.ac.uk
  2840.         - this is a new 8051 ftp site
  2841.  
  2842.     ftp.intel.com
  2843.         - good source of stuff the MCS-51 and MCS-96 families
  2844.         /pub/mcs51 - various development tools and sample code for the
  2845.                      MCS-51 family
  2846.         /pub/mcs96 - various development tools and sample code for the
  2847.                      MCS-96 family
  2848.  
  2849.     nctuccca.edu.tw
  2850.         - mirror of ftp.intel.com
  2851.         /vendors/Intel
  2852.  
  2853.     freeware.aus.sps.mot.com (Motorola)
  2854.         - the ftp site version of the freeware BBS
  2855.         - lots of free software for the HC05, HC08, HC11, HC16, 680x0,
  2856.           683xx, and PowerPC
  2857.         - also see the Web pages in the next section
  2858.  
  2859.     nscmicro.nsc.com
  2860.         - the authoratative source for COP8 infomation
  2861.         /pub/COP8 - various develepment tools and sample code for the
  2862.                     COP8 family including most application notes
  2863.  
  2864.  
  2865.     ftp.ee.ualberta.ca (preferred address)
  2866.     bode.ee.ualberta.ca
  2867.     wattson.ee.ualberta.ca
  2868.         - HUGE archive of all sorts of stuff on the 68hc11 (lots of other
  2869.           good stuff too!)
  2870.         - you'll have fun mucking around this ftp site, there's piles of
  2871.           stuff here
  2872.         /pub/cookbook
  2873.         /pub/motorola
  2874.         /pub/motorola/68hc11
  2875.         /pub/motorola/mcu11
  2876.  
  2877.     cherupakha.media.mit.edu (cher.media.mit.edu)
  2878.         - HUMONGOUS archive of all sorts of stuff on the 68hc11 including
  2879.           the 6.270 robotics project, Mini Board, F1 board, and more
  2880.           (lots of other good stuff too!)
  2881.         - you'll lose yourself rooting around this ftp site, there's
  2882.           piles of stuff here (assemblers, tools, C compilers, plans and
  2883.           schematics, and many other items)
  2884.         /pub/6270 - tools, docs, schematics, etc. for the MIT 6.270
  2885.           robotics project using a 68hc11-based development system
  2886.         /pub/6811 - software, schematics, etc. for the 68hc11-based F1
  2887.           board
  2888.         /pub/incoming - various unsorted or new items
  2889.         /pub/miniboard - software, docs, schematics, etc. for the 3"x2",
  2890.           68hc11-based Mini Board controller
  2891.  
  2892.     ftp.funet.fi (nic.funet.fi)
  2893.         - this is a good source for various microcontrollers
  2894.         /pub/microprocs/ (subdirectories include: 1802, 6805, 8048,
  2895.            8051, 8096, PIC and many other microprocessors)
  2896.  
  2897.     ftp.sics.se
  2898.         - many assemblers, utilities, and application notes for the PIC
  2899.         - Microchip BBS mirror
  2900.         - ftp site of Memec Scandinavia, Microchip's Swedish agent.
  2901.         /pub/mchipsoft
  2902.  
  2903.     ernie.uvic.ca
  2904.         - files provided by local Motorola representative
  2905.         /pub (subdirectories include: ibm, dsp96k, dsp56100, dsp56k,
  2906.           dsptools, develop, mac, mcu302, mcu332, mcu11, pgmr, mcu16,
  2907.           mcu, market, qa, general, m68k, evm, dsp)
  2908.  
  2909.     wpi.wpi.edu
  2910.         - basic stamp information
  2911.         - PIC "C" compiler
  2912.         /stamp
  2913.  
  2914.     ftp.std.com
  2915.         /vendors/microchip/
  2916.  
  2917.     ftp.luth.se
  2918.         /pub/misc/microchip - PIC information
  2919.         /pub/misc/microchip/stamp/mirror - mirror of wpi.wpi.edu
  2920.         /pub/languages/assembler - various freeware assemblers
  2921.  
  2922.     ti.com
  2923.         read the 00readme file first or you'll be lost
  2924.  
  2925.     hpcsos.col.hp.com
  2926.         /misc/ns32k/beowulf
  2927.  
  2928.     ftp.netcom.com
  2929.         /pub/imagecft - prerelease version of ImageCraft C for 68hc11
  2930.  
  2931.     info@circellar.com - Email (not ftp)
  2932.         - send Email to get information file on services available
  2933.         - all Circuit Cellar INK and BYTE related files available
  2934.  
  2935.     asterix.inescn.pt - FORTH archive
  2936.         /pub/forth
  2937.  
  2938.     ftp.ultranet.com
  2939.         /biz/mchip - PIC information
  2940.         - also see the Web page: http://www.ultranet.com/biz/mchip
  2941.  
  2942.     ftp.mrc-bbc.ox.ac.uk
  2943.         /pub/microchip
  2944.  
  2945.     ftp.oak.oakland.edu
  2946.         - has information and software for a wide range of
  2947.           microprocessors and microcontrollers
  2948.  
  2949.     ftp.uni-erlangen.de
  2950.         - information on PIC
  2951.         /mounts/epix/public/pub/Multimedia/VideoCrypt/
  2952.             microcontroller/microchip.bbs
  2953.  
  2954.     ftp.armory.com (Steve Walz)
  2955.         - /pub/user/rstevew/8051
  2956.         - /pub/user/rstevew/TB8051
  2957.         - /pub/user/rstevew/incoming
  2958.  
  2959.     ftp.cygnus.com (Jeff Fox)
  2960.         - source of information and software on the MuP21 Forth
  2961.           microcontroller
  2962.         /pub/forth - MUP21FTP.ZIP includes a software simulator for
  2963.             the MuP21 and and the upcoming F21.
  2964.         also see the Web page: http://www.dnai.com/~jfox
  2965.  
  2966.     ftp.best.com
  2967.         /pub/cera
  2968.     ftp.netcom.com
  2969.         /pub/ce/cera
  2970.         - embedded systems FTP archive
  2971.  
  2972.     ftp.parallaxinc.com
  2973.         /pub
  2974.         - ftp site of Parallax
  2975.           "Cool PIC development tools & the BASIC Stamp"
  2976.  
  2977.     ftp.std.com - Minds-Online ftp site
  2978.         /customers2/nonprofits/minds-online
  2979.         - Chock full of compilers, assemblers, code, articles, fuzzy
  2980.           logic, and much more.
  2981.  
  2982.  
  2983. 10.2)  Web pages
  2984.  
  2985.     http://motserv.indirect.com (Motorola)
  2986.         - Motorola's semiconductor WWW page
  2987.         - on-line searchable Master Selection Guide and OEM Price Book
  2988.         - 'MFax' service to request all kinds of data sheets
  2989.         - a bunch of other cool stuff
  2990.  
  2991.     http://freeware.aus.sps.mot.com/index.html (Motorola)
  2992.         - Motorola's microcontroller WWW page
  2993.         - the WWW version of the freeware BBS
  2994.         - lots of free software for the HC05, HC08, HC11, HC16, 680x0,
  2995.           683xx, and
  2996.             PowerPC
  2997.  
  2998.     http://www.ultranet.com/biz/mchip
  2999.         - source of information on the Microchip PIC
  3000.  
  3001.     http://www.dnai.com/~jfox
  3002.         - source of information and software on the MuP21 Forth
  3003.           microcontroller
  3004.  
  3005.     http://www.cera.com
  3006.         - embedded systems information
  3007.  
  3008.     http://www.parallaxinc.com
  3009.         - Parallax Inc. web page
  3010.           "Cool PIC development tools & the BASIC Stamp"
  3011.  
  3012.     http://www.ba-karlsruhe.de/automation/home.html
  3013.         - automation and process control
  3014.  
  3015.  
  3016. 10.3)  BBSs
  3017.  
  3018.     The following BBSs have 8051 information:
  3019.  
  3020.     Circuit Cellar, Inc.
  3021.         - contains code from their magazine articles and from the
  3022.           original Circuit Cellar articles in Byte magazine, also
  3023.           contains many other interesting items
  3024.         - The BBS is mentioned in the masthead of each issue (on the
  3025.           table of contents page).  Excerpts from the BBS appear in Ken
  3026.           Davidson's ConnecTime column in every issue with a description
  3027.           of how to access the system at the end of every column.
  3028.         - (203)871-1988
  3029.         - Voice: (203)875-2751
  3030.         - Fax: (203)872-2204
  3031.  
  3032.     Dunfield Development Systems
  3033.         - support for their Micro-C C compiler and development tools
  3034.         - includes a lot of nice goodies - CHECK THIS OUT!
  3035.         - (613) 256-6289
  3036.  
  3037.     Electronics Now
  3038.         - contains code from their magazine articles
  3039.         - (516)293-2283
  3040.         - 1200/2400, 8N1
  3041.  
  3042.     Intel American Marketing Applications Support Bulletin Board System
  3043.         - 16 lines, hi-speed modems (14.4K)
  3044.         - Lots of useful info and files (including design examples)
  3045.         - Full ANSI-BBS with color is recommended, but support for just
  3046.           about all terminal types is provided
  3047.         - 916-356-3600 (24 hours)
  3048.           Auto config: 1200 thru 14.4K Baud
  3049.           8 data bits, no parity, 1 stop
  3050.  
  3051.     Iota Systems, Inc.
  3052.         - Support for their line of hardware and software products
  3053.         - (702)831-4732
  3054.  
  3055.     Don Lekei BBS
  3056.         - support for the PIC line of microcontrollers
  3057.         - (604)597-3479 (Canada)
  3058.  
  3059.     Microchip BBS
  3060.         - support for the PIC line of microcontrollers
  3061.         - Contact by dialing the same number you would use to get to
  3062.           Compuserve at 19200,n,8,1, except that you press +<CR> at the
  3063.           (garbage) prompt, followed by MCHIPBBS as the host (instead of
  3064.           CIS).
  3065.  
  3066.     ED Teck. Pubs BBS
  3067.         - run by Fred Eady who writes for hobbyist magazines
  3068.         - good source of information on the PIC
  3069.         - (407)454-3198
  3070.  
  3071.     National Semiconductor COP8 BBS
  3072.         - (800)672-6427
  3073.         - worldwide telnet to nscmicro.nsc.com
  3074.  
  3075.     Protel (Microchip PIC software support)
  3076.         - (408)243-0125
  3077.  
  3078.     Parallax Inc.
  3079.         - (916)624-7101
  3080.  
  3081.     Motorola (Austin Texas) BBS
  3082.         - terrific, has piles of stuff, only some of which is on
  3083.           bode.ee.ualberta.ca
  3084.         - (512) 891-3733 (Austin, Texas)
  3085.         - V.32 9600 Baud modems w/ MNP-5
  3086.         - 8 Data Bits, No Parity, 1 Stop Bit.
  3087.  
  3088.     Other Motorola BBSs:
  3089.         - Munich, Germany:  49-89-92103-111  (2400 baud)
  3090.         - Stuttgart, Germany:  49-7031-275496  (19200 baud)
  3091.         - San Diego, California:  (619) 279-3907
  3092.         - Toronto, Ontario, Canada:  (416) 497-8989
  3093.  
  3094.     Philips Semiconductor (parent company of Signetics)
  3095.         - support for: standard logic, programmable logic,
  3096.           in-car electronics (planned), 8 and 16 bit microcontrollers,
  3097.           I2C software, third party software, discrete semiconductors,
  3098.           cross assemblers (general), RF (planned)
  3099.         - PHIBBS is located in the Netherlands: +31-40-721102
  3100.         - maximum 14400 baud / V42bis
  3101.         - 24 hours a day available
  3102.         - Help desk: +31-40-722749  (9.00 AM - 16.00 PM CET)
  3103.  
  3104.     Philips Semiconductors (Signetics)
  3105.         - support for their 8051 variants
  3106.         - contains many good source code items
  3107.         - partially mirrored on ftp.pppl.gov and nic.funet.fi
  3108.         - (800)451-6644 or (408)991-2406
  3109.  
  3110.  
  3111. 10.4)  Mailing Lists
  3112.  
  3113.     listserv@oberon.com
  3114.         - mailing list for the Mini Board and 6.270 board
  3115.         - send a message containing the word "help" for directions
  3116.         - mailing list address:  robot-board@oberon.com
  3117.         - maintainer:  gkulosa@oberon.com
  3118.  
  3119.     listserv@hipp.etsu.edu
  3120.         For information, send empty message.
  3121.         To subscribe, send message with the body:
  3122.            subscribe mc68hc11 your_real_name
  3123.  
  3124.     listserv@netcom.com - mailing list for Imagecraft C
  3125.         to join the mailing list, send the message "subscribe icc11-list"
  3126.  
  3127.     listserv@mitvma.mit.edu
  3128.         to join, send the message "SUB PIC"
  3129.         list address is: PIC@mitvma.mit.edu
  3130.         to receive the mailing list as a digest, send the message
  3131.            SET PIC DIGEST
  3132.  
  3133.     majordomo@first.gmd.de
  3134.         to join, send the message "subscribe crossgcc <your address>"
  3135.            in the message body
  3136.         Cross GCC mailing list - for building a cross gcc compiler for
  3137.            your embedded system.
  3138.  
  3139.     Philips-News@InetBSystems.us.com
  3140.         - send Email with "subscribe" in the subject field to be put
  3141.           on list for newsletter
  3142.     Philips-archive@InetBSystems.us.com
  3143.         - send Email message with the word "help" in the subject line to
  3144.           learn how to access the archive
  3145.     Philips-forum-request@InetBSystems.us.com
  3146.         - send an Email message with the word "subscribe" in the subject
  3147.           line to participate in the forum, and receive usage
  3148.           instructions and guidelines
  3149.     Philips-Info@InetBSystems.us.com
  3150.         - send Email message to get information on all of Philips Email
  3151.           services
  3152.  
  3153.     MISC@pisa.rockefeller.edu
  3154.     MISC-d@pisa.rockefeller.edu (digested list)
  3155.         - a message with "subscribe" on the subject line to one of these
  3156.           addesses you will get you signed up
  3157.         - a message with "help" on the subject line you will get info on
  3158.           how the mail list works
  3159.  
  3160.     Minds-Online mailing lists
  3161.         - One mailing list is for announcing significant postings on the
  3162.           Minds-Online ftp site.
  3163.         - Another MODERATED mailing list will carry messages from real
  3164.           engineers who are working on designs slated for volume
  3165.           production.  "No tire-kickers, no students, no academics, no
  3166.           sleazy something-for-nothing ripoff artists, no hobbyists, and
  3167.           no totally lost people will be able to post e-mail."  (Uh, it
  3168.           looks like that sort of leaves out yours truly, I certainly
  3169.           belong in several, if not most, of those categories).
  3170.         - send an email request to csmall@tiac.net to be added to these
  3171.           lists
  3172.  
  3173. __________________________________________________________
  3174.  
  3175. I disclaim everything.  The contents of this article might be totally
  3176. inaccurate, inappropriate, misguided, or otherwise perverse - except for
  3177. my name (hopefully I got that right).
  3178.  
  3179. Copyright (c) 1995 by Russell Hersch, all rights reserved.
  3180. This FAQ may be posted to any USENET newsgroup, on-line service, or BBS
  3181.   as long as it is posted in its entirety and includes this copyright
  3182.   statement.
  3183. This FAQ may not be distributed for financial gain.
  3184. This FAQ may not be included in commercial collections or compilations
  3185.    without express permission from the author.
  3186.  
  3187. -----------------------------------
  3188. Russ Hersch - sibit@datasrv.co.il
  3189.